0
votes

How to add multiple plotlines for yaxis using highcharts? I want the plotlines through out the charts. I know we can achieve this by adding value attribute but it is only for 1 value, i need it for entire yaxis

2
Please can you give an example of what you want? It's not very clear?! - Rob Schmuecker
Say using tickinternal 10, my charts gives yaxis labels as 10, 20, 30, 40 and 50 with plotlines but i want plotlines from 0 to 50 i.e, min to max - user1931944
Can you give a jsFiddle illustrating the problem? - John Chrysostom

2 Answers

0
votes

I think you're wanting tickPositions on the y-axis

    yAxis:{
        tickPositions:[1,10,20,30,40,50,200]   
    },

Demo: http://jsfiddle.net/robschmuecker/E95cr/1/ Docs: http://api.highcharts.com/highcharts#yAxis.tickPositions

0
votes

Could you paste your mockup? You can set multiple plotLines, or use plotbands. If you would like to add line out of plotarea, you need to use renderer.