Add buttons in chart of Highcharts at runtime
问题 I need to add some custom buttons (with onclick events), without overwrite the exporting buttons value, 'cause I wanna include new buttons without lost the custom buttons previously defined in chart (my chart already has custom buttons defined), all this at runtime, in a Highcharts chart using this object: $('container').highcharts() Is this possible? 回答1: You can add custom buttons using the exporting object: exporting: { buttons: { customButton: { text: 'Custom Button', onclick: function ()