高图-切换Y轴上每个值的平行于X轴的线?

时间:2018-08-16 16:58:01

标签: highcharts linechart

如何切换平行于X轴并在Y轴上显示每个值的线? 这些-enter image description here

2 个答案:

答案 0 :(得分:2)

xAxis: {
 ...  
 lineWidth: 0,
 minorGridLineWidth: 0,
 lineColor: 'transparent',
 ...          
 labels: {
   enabled: false
 },
 minorTickLength: 0,
 tickLength: 0
}

只需将其添加到x轴定义

答案 1 :(得分:0)

它的yAxis.gridWidth-外观API Doc

Fiddle