If you want to remove all buttons, the best place for this can be found here:
exporting: { enabled: false }
If you disable navigation, the buttons are only disabled, the export module continues to load.
To disable only one button, you should use the following:
exporting: { buttons: { exportButton: { enabled: false } } }
The code below disables the export button.
I donβt know how to add a button without adding a new svg element, but if you do not use the export buttons, why don't you change the style and function of the chart button? You can do this according to the link .
source share