Disable Element like RangeSelector Dynamically
It can be interesting to disable Element like RangeSelector dynamically. Like when you export a chart. We can do something like:
There is a method to hide element:
That I found on stackOverflow (http://stackoverflow.com/questions/25802472/how-to-hide-show-scrollbar-and-range-selector-of-highcharts-on-button-click)
But this is not very good, because the Element are hidden but if you hide the the navigator and you have a legend, the legend won't move for example
Every option in chart can now be dynamically updated via `chart.update(newOptions)` API.
I know about it, but this is not only for export.
Thank you for your answer anyway =)
If you only want it to be hidden for exported charts, you can add it to exporting.chartOptions: