|
@@ -1147,17 +1147,6 @@ export default {
|
|
color,
|
|
color,
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- },
|
|
|
|
-
|
|
|
|
- /* 纵轴刻度也要显示多点... 取极值计算吧.. */
|
|
|
|
- handleTickInterval(yItem) {
|
|
|
|
- console.log(yItem)
|
|
|
|
- const { max,min,visible } = yItem;
|
|
|
|
-
|
|
|
|
- if(!visible) return undefined
|
|
|
|
-
|
|
|
|
- let tickInterval = Math.ceil((max - min)/6)
|
|
|
|
- return tickInterval
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted(){
|
|
mounted(){
|