- By applying remove code externally
- By removing existing code
- To remove all region
hi_container.set("postExecution", function () {
Hdi.c3chart.regions.remove(
{classes: ['regionX1', 'regionY2','regionX1', 'regionY2']}
// here you need to specify all the regions class to remove
);
});
2. To remove selected region
hi_container.set("postExecution", function () {
Hdi.c3chart.regions.remove(
{classes: ['regionY2','regionX1']} // you need to specify selected region class to remove
);
});
On executing the code, regions get removed.
Output
For more info, contact us at demo@helicalinsight.com