Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highcharts remove zoom feature

Hello I am using Highcharts for displaying charts. The chart also uses zoom feature. I want to remove the zoom feature. Any ideas on what we can do to remove the zoom feature.

like image 280
SaiBand Avatar asked Oct 10 '22 10:10

SaiBand


2 Answers

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.

like image 152
Edan Avatar answered Oct 13 '22 10:10

Edan


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 }

like image 20
koustubh Avatar answered Oct 13 '22 10:10

koustubh