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(
|
||||
(
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
defineOptions({
|
||||
name: 'govern/device/manage'
|
||||
})
|
||||
import MangePopup from './managePopup.vue'
|
||||
import MangePopup from './popup.vue'
|
||||
import DeviceTree from '@/components/tree/govern/deviceTree.vue'
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
import { queryByCode, queryByid, queryCsDictTree } from '@/api/system-boot/dictTree'
|
||||
|
||||
Reference in New Issue
Block a user