Does anyone know how to dynamically add or remove an "exporting" button in highcharts?
I've been able to successfully add a button using code similar to this:
exporting: {
buttons: {
customButton: {
text: 'Custom Button',
onclick: function () {
alert('You pressed the button!');
}
}
}
}
But I'd like to be able to add the button onto the graph later through a javascript event (and then remove it soon after).