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?
You can add custom buttons using the exporting object:
http://jsfiddle.net/NxK39/1/
EDIT: He wanted to add buttons after config
new fiddle: http://jsfiddle.net/NxK39/2/ answer using technique from Highcharts: replace custom button image on hover
This seems much more clean (due to being able to align properly):
JS
originally found here: http://forum.highcharts.com/viewtopic.php?f=9&t=15416
if you need to pass any information simply do the following: