You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of a DummyOption, ButtonOptions.onclick should be a Function. That way you can add an event function to i.e. the ExportingButtons.contextButton.
From the Highcharts API reference exporting.buttons.contextButton
onclick: functionSince 2.0.0
A click handler callback to use on the button directly instead of the popup menu.
Instead of a DummyOption, ButtonOptions.onclick should be a Function. That way you can add an event function to i.e. the ExportingButtons.contextButton.
Expected generated code
exporting: { buttons: { contextButton: { menuItems: null, onclick: function () { this.exportChart(); } } } }
The text was updated successfully, but these errors were encountered: