Ver código fonte

Update indexbody.js

tags/6.1.7
tianya 3 anos atrás
pai
commit
e51d916a79
1 arquivos alterados com 8 adições e 7 exclusões
  1. +8
    -7
      src/admin/js/indexbody.js

+ 8
- 7
src/admin/js/indexbody.js Ver arquivo

@@ -218,13 +218,7 @@ async function LoadStatChart() {
}, },
data: { data: {
labels: labels, labels: labels,
datasets: [{
label: 'IP',
data: ips,
borderColor: 'rgba(255, 99, 132, 1)',
backgroundColor :'rgba(255, 99, 132, 0.2)',
borderWidth: 1
},
datasets: [
{ {
label: 'PV', label: 'PV',
data: pvs, data: pvs,
@@ -238,6 +232,13 @@ async function LoadStatChart() {
backgroundColor: 'rgba(255, 206, 86, 0.2)', backgroundColor: 'rgba(255, 206, 86, 0.2)',
borderWidth: 1 borderWidth: 1
},{ },{
label: 'IP',
data: ips,
borderColor: 'rgba(255, 99, 132, 1)',
backgroundColor :'rgba(255, 99, 132, 0.2)',
borderWidth: 1
},
,{
label: '访问次数', label: '访问次数',
data: vvs, data: vvs,
borderColor: 'rgba(75, 192, 192, 1)', borderColor: 'rgba(75, 192, 192, 1)',


Carregando…
Cancelar
Salvar