I'm using flexmonster chart in my project, in the toolbar, I have a button with a custom menu. once the user is saving the data I want to add / delete items from that menu. in flexmonster documentation they say that I can change the toolbar by overriding the getTabs
method:
let tabs = toolbar.getTabs();
toolbar.getTabs = function () {
// remove the Connect tab using its id
tabs = tabs.filter(tab => tab.id != "fm-tab-connect");
return tabs;
}
however, that only works before the chart is rendered. is there a way to update the chart in real time after the chart is already rendered?