|
@@ -340,11 +340,11 @@ const TopoDetail = (props) => {
|
|
|
|
|
|
|
|
const seriesData = historyData.map((point) => {
|
|
const seriesData = historyData.map((point) => {
|
|
|
// 转换为百分比显示
|
|
// 转换为百分比显示
|
|
|
- return point.value;
|
|
|
|
|
|
|
+ return point.value.toFixed(2);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// 阈值也转换为百分比
|
|
// 阈值也转换为百分比
|
|
|
- const thresholdValue = threshold;
|
|
|
|
|
|
|
+ const thresholdValue = threshold.toFixed(2);
|
|
|
|
|
|
|
|
// 配置数据点样式
|
|
// 配置数据点样式
|
|
|
newData.series[0] = {
|
|
newData.series[0] = {
|