callback for 'noData'
When there is no data to display, the message shows up on the chart. But there are things users might want to do in such a situation. For example, I have custom navigation buttons which lose meaning when there is no data. Some might even want to remove the context menu button. It would be great if there'd a callback where you could add/remove elements to/from the chart.
Thanks for your suggestion! You can wrap the showNoData and hideNoData functions to add your custom code: http://jsfiddle.net/highcharts/3u2crb53/
-
It's not currently documented. What we're doing is to override the internal functions, so that we can run our own code before or after the default functionality. The principle is explained at http://www.highcharts.com/docs/extending-highcharts/extending-highcharts.
-
Rahul Sharma commented
is there any documentation for this? I am not quite sure what's happening here.