Hi Thierry,
By using the "dataBound" event, you can add new chart types to the chart menu. Please refer to the code example below.
Code Example:
|
dataBound: function (args) {
if (isInit && pivotObj.toolbarModule) {
pivotObj.toolbarModule.chartMenu.items[0].items.splice(6, 0, {
text: 'Pie',
id: pivotObj.element.id + '_' + 'Pie', // Menu item element id should be in this format. Eg: Pivot element id + ‘_’ + chart type.
});
isInit = false;
}
}, |
Meanwhile, we have prepared a sample for your reference. Please find it from below link.
Please let us know if any concern occurs.
Regards,
Manikandan