Browse Source

Update body.js

tags/6.2.8
叙述、别离 10 months ago
parent
commit
da831ec02b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/admin/js/body.js

+ 2
- 2
src/admin/js/body.js View File

@@ -167,8 +167,6 @@ function LoadStat() {
});
}
async function LoadStatChart() {
Chart.defaults.font.size = 14;
Chart.defaults.color = '#545b62';
const ctx = document.getElementById('statChart').getContext('2d');
let labels = [];
let dates = [];
@@ -194,6 +192,8 @@ async function LoadStatChart() {
vvs.push(typeof e.vv == "undefined" ? 0 : e.vv);
});
}
Chart.defaults.font.size = 14;
Chart.defaults.color = '#545b62';
const myChart = new Chart(ctx, {
type: 'line',
options: {


Loading…
Cancel
Save