列车曲线图调整

This commit is contained in:
dong 2023-10-13 10:14:31 +08:00
parent b0dbbc4d53
commit 0790a7326e

View File

@ -73,6 +73,7 @@ function initEcharts() {
}, },
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
valueFormatter: (value: number) => value.toFixed(2),
}, },
legend: { legend: {
data: ['速度', '加速度', '牵引力', '制动力'], data: ['速度', '加速度', '牵引力', '制动力'],