MJ27 Posted August 25, 2009 Report Share Posted August 25, 2009 Hi All, I am trying to remove the 'Statistical Studies' option from toolbar and context menu. I have tried clearing the context menu by doing: mChart.Commands[ChartFX.WebForms.CommandId.ContextMenuBack].SubCommands.Clear(); this clear everything except the statistical studies option. At runtime I can still see 'Statistical Studies' in context menu. On the toolbar I know the position of 'Statistical Studies' option therefore I tried doing : mChart.ToolBar.RemoveAt(15); // assume 15 is the position of 'Statistical Studies' this did not work. In code I also tried setting the Legend Box to false: ((Statistics)mChart.Extensions[0]).LegendBox.Visible = false; still no joy. Is there any other way of removing 'Statistical Studies' option from the toolbar and context menu. Regards, MJ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.