score:-3

open highstock.js file. get the line with bellow code

if(!c.rendered&&(c.zoomText=e.text(i.rangeSelectorZoom,o,d.plotTop-10).css(g.labelStyle).add(),p=o+c.zoomText.getBBox().width+5,n(c.buttonOptions,function(a,b){h[b]=e.button(a.text,p,d.plotTop-25,function(){c.clickButton(b,a);c.isActive=!0}

and replace with this code

if(2==3&&!c.rendered&&(c.zoomText=e.text(i.rangeSelectorZoom,o,d.plotTop-10).css(g.labelStyle).add(),p=o+c.zoomText.getBBox().width+5,n(c.buttonOptions,function(a,b){h[b]=e.button(a.text,p,d.plotTop-25,function(){c.clickButton(b,a);c.isActive=!0}

this works for me. I hope works for you too

score:2

Simply attribute zoomtype property mentioned in chart. I am sure if your chart is supporting zoom currently, then there must be zoomtypoe mentioned in its configuration. Just set it to false.

chart:{ zoomType : false }

score:5

You can set the zoom level.

Under the chart element, you can use the zoomType property, and set the exact width and height as the original size. You could also try setting enable: false or setting the level to null.

More information can be found on the API documentation.


Related Query

More Query from same tag