How to always show the plotLine in HighCharts?

后端 未结 4 802
北恋
北恋 2020-12-16 11:01

I am creating a HighChart with a plotLine in it. The plotLine has a fixed value, while the data can vary between charts.

HighChart scales the y-axis automatically ba

4条回答
  •  星月不相逢
    2020-12-16 11:42

    You could simply set the max attribute to the max value you will have:

    yAxis: {
    
                max:650 //HERE
                plotLines...
    
            },
    

提交回复
热议问题