Reputation: 260
Is there any property to remove/hide Annotation Button when a Chart is exported to PDF/PNG. Refer to this fiddle link
exporting: {
buttons: {
contextButton: {
menuItems: [
{
textKey: 'downloadPDF',
onclick: function () {
this.exportChart({
type: 'application/pdf'
});
}
}]
}
}
}
Upvotes: 1
Views: 1024
Reputation: 12472
You need to set annotationsOptions.enabledButtons
to false in the exporting options.
exporting: {
chartOptions: {
annotationsOptions: {
enabledButtons: false
}
},
example: http://jsfiddle.net/4s57pwns/4/
Upvotes: 1