fix:修改单位
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
}
|
||||
});
|
||||
};
|
||||
const getChatr = (data) => {
|
||||
const getChatr = (data: any) => {
|
||||
if (chartInstance) {
|
||||
chartInstance.dispose();
|
||||
}
|
||||
@@ -215,7 +215,7 @@
|
||||
axisLabel: {
|
||||
show: true, // 显示
|
||||
formatter: function (value: any) {
|
||||
return value + ' ' + data.unit; // 在刻度值后加上单位
|
||||
return value + data.unit; // 在刻度值后加上单位
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user