|
|
@ -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: { |
|
|
|