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