Highstock- limit grid lines for y axis -


how can show grid lines on middle of chart, please see attached image

enter image description here

you can loop on ticks , remove gridlines not @ first / last , 0 point.

$.each(chart.yaxis[0].ticks,function(i,line){         if(!line.isfirst && !line.islast && line.pos!=0) {             line.gridline.destroy();         } }); 

example: http://jsfiddle.net/hjpchasj/2/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -