I am using the export-data module of highcharts. By default the export menu has the option "Open in Highcharts Cloud". How do I remove this option from the menu?
You can define the items in the exporting menu with exporting.buttons.contextButton.menuItems option.
If you want to exclude only openInCloud
item then you can filter out it from the default menu items.
exporting: {
buttons: {
contextButton: {
menuItems: Highcharts.getOptions().exporting.buttons.contextButton.menuItems.filter(item => item !== 'openInCloud')
}
}
}
live example: http://jsfiddle.net/1unnkdt1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With