echart双轴处理
This commit is contained in:
@@ -102,18 +102,7 @@ const init = () => {
|
||||
axisLine: {
|
||||
show: true
|
||||
},
|
||||
minInterval: 1,
|
||||
interval: parseInt(
|
||||
(
|
||||
(arr
|
||||
.map(item => item.statisticalData)
|
||||
.sort((a, b) => {
|
||||
return b - a
|
||||
})[0] *
|
||||
1.5) /
|
||||
5
|
||||
).toFixed(0)
|
||||
),
|
||||
minInterval: 0.1,
|
||||
min: 0,
|
||||
max: parseInt(
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user