Hi
We only show one chart option and that is the Pie Chart. We have removed the other options using javascript.
Is it possible to disable the contextmenu and just show the Pie chart icon, or at least show the Pie icon instead of the column chart icon.
Thanks,
Jesper
Hello, Jesper,
Thank you for reaching out to us.
You can find out how to customize the toolbar by following the link below: https://www.flexmonster.com/doc/customizing-toolbar/.
In your case, we recommend using the code below:
function customizeToolbar(toolbar) {
var tabs = toolbar.getTabs();
toolbar.getTabs = function() {
tabs[6] = {
id: "fm-tab-charts-pie",
args: "pie",
title: toolbar.Labels.charts_pie,
handler: toolbar.chartsHandler,
icon: this.icons.charts_pie
};
return tabs;
}
}
Please, let us know if that has helped you.
Kind Regards,
Illia