Hi Hanson,
Thanks for using Syncfusion products.
We suggest you to use “Popup” event of chartContecxtMenu to customize the menu item in chart context menu. Please refer the below code snippet to achieve this,
[C#]
private void CustomContextMenu()
{
this.chartControl1.ChartContextMenu.Popup += new EventHandler(ChartContextMenu_Popup);
}
void ChartContextMenu_Popup(object sender, EventArgs e)
{
this.chartControl1.ChartContextMenu.MenuItems.RemoveAt(4);//Remove menuitem from comtext menu
this.chartControl1.ChartContextMenu.MenuItems.RemoveAt(3);
this.chartControl1.ChartContextMenu.MenuItems.RemoveAt(2);
this.chartControl1.ChartContextMenu.MenuItems.RemoveAt(1);
}
Please find the attached sample and screen shot for this requirement.
Let us know if you have any concern
Regards,
Vijayabharathi
ContextMenu_9df530da.zip