有人可以帮我解决以下样式问题吗?
这是我同一个https://jsfiddle.net/k16sdhrz/的小提琴
chart: {
type: 'heatmap',
},
yAxis: {
categories: [{
name: 'Cat 1',
categories: ['Item 1_1', 'Item 1_2']
},
{
name: 'Cat 2',
categories: ['Item 2_1', 'item 2_2']
}
]
},
在此先感谢您的帮助。
答案 0 :(得分:0)
tickWidth
属性(默认为0-plotLines
选项:yAxis: {
tickWidth: 1,
labels: {
x: -5
},
plotLines: [{
value: -0.5,
color: 'green',
width: 5,
zIndex: 10
}, ...]
}
实时演示: https://jsfiddle.net/BlackLabel/ekcq2td8/
API参考: https://api.highcharts.com/highcharts/yAxis.tickWidth