We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to turn off the Chart Legend Properties Dialog

Thread ID:





57447 Mar 5,2007 08:12 AM UTC Mar 6,2007 02:45 AM UTC WinForms 1
Tags: Chart
Mushtaque Silat
Asked On March 5, 2007 08:12 AM UTC

Is there any way to turn off the properties dialog when clicking on the legend without disabling the visible checkbox. Setting Legend.Enabled = false disables the legend completely hence the user cannot change the visibility of series or move the legend around. I just want to turn off the properties dialog for the legend and the individual series.

Mushtaque --

Administrator [Syncfusion]
Replied On March 6, 2007 02:45 AM UTC

Hi Mushtaque,

Thank you for using Syncfusion products.

Inorder to disable editing the Style settings in the Chart control, Please try the following code and let me know if this helps.


//Disable the Legend property edit window and series style edit window
this.chartControl1.Legend.Style = ChartLegendStyle.Empty;

//Disable series style edit window only.
this.chartControl1.Legend.Style = ChartLegendStyle.SupportEditProperties ;

//Disable Legend property edit window only.
this.chartControl1.Legend.Style = ChartLegendStyle.SupportItemStyleEdit ;



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon