Browse Source

fix issue

tags/v1.22.8.2^2
zhoupzh 3 years ago
parent
commit
1ad7bf9017
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      web_src/js/index.js

+ 2
- 2
web_src/js/index.js View File

@@ -5086,7 +5086,7 @@ function initChartsNpu() {
axisLabel: {
interval: "auto",
},
name: "时间(min)",
name: "",
},
yAxis: {
show: true,
@@ -5142,7 +5142,7 @@ function initChartsNpu() {
};
return seriesOption;
});
let xAxisValue = res.interval === 1 ? "时间(min)" : "时间(hour)";
let xAxisValue = res.Interval === 1 ? "时间(min)" : "时间(hour)";
let xLength = res.MetricsInfo[0].value.length;
options.xAxis.name = xAxisValue;
options.xAxis.data = Array.from(


Loading…
Cancel
Save