I am using MVC and currently working with highchart
I am using the Exporting.js so users can print or export the highchart chart. I have two charts in a view and I would like to disable print and export on one of the chart. How can I do that?
Exporting.js is automaticly giving charts these 2 button options.
Thanks in dvance
Correct solution:
.SetExporting(new Exporting { Enabled = false, EnableImages = false });
You can disable both the buttons (i.e. the whole exporting section) simulataneously by,
exporting: {
enabled: false
}
You can also disable any one or both of them like this,
exporting: {
buttons: {
exportButton: {
enabled:false
},
printButton: {
enabled:false
}
}
}