Browse Source

解决情绪探底雷达第一个网格y轴数值出现多个相同值的问题。

dev
宋杰 9 hours ago
parent
commit
753c381b80
  1. 4
      src/views/components/emotionalBottomRadar.vue

4
src/views/components/emotionalBottomRadar.vue

@ -402,6 +402,7 @@ function initEmotionalBottomRadar(KlineData, barAndLineData) {
splitNumber: 4,
min: yAxisMin, // y
max: yAxisMax, // y
interval: (yAxisMax - yAxisMin) / 4, //
axisLine: {
lineStyle: {
color: 'white' // y
@ -414,7 +415,8 @@ function initEmotionalBottomRadar(KlineData, barAndLineData) {
width: 50, //
color: 'white',
formatter: function (value, index) {
return Math.round(value)
//
return value.toFixed(1);
}
},
splitLine: {

Loading…
Cancel
Save