Hello,
When a user double clicks on the legend on of my charts, the Legend Properties dialog is displayed. Is there any way to prevent this?
I thought that setting AllowUserEditStyles = false would do it, but it doesn't seem to be the case.
Thanks
MS
Manimala S
Syncfusion Team
March 19, 2009 02:09 PM UTC
Hi Michael,
I will look for a way and will let you know once I have got this.
Thanks,
Manimala.
MS
Manimala S
Syncfusion Team
March 20, 2009 04:18 AM UTC
Hi Michael,
To disable the legend properties dialog box just include the line below in the form_load() event.
this.chartControl1.Legend.Enabled = false;
Kindly, let me know if it helps.
Thanks,
Manimala.
PW
Paul Wallace
June 25, 2009 01:04 PM UTC
How can you suppress the properties dialog from appearing if you have enabled checkboxes to hide/show individual series?
Disabling the legend disables the checkboxes.
Paul
MS
Manimala S
Syncfusion Team
June 26, 2009 05:25 AM UTC
Hi Paul,
We can set the legend style property to Empty, so as to suppress the properties dialog box. Here is the code snippet to do this.
//Code
'To Disable the Legend property edit window and series style edit window
ChartControl1.Legend.VisibleCheckBox = True
'To Disable series style edit window alone.
ChartControl1.Legend.Style = ChartLegendStyle.SupportEditProperties
'To Disable Legend property edit window alone.
ChartControl1.Legend.Style = ChartLegendStyle.SupportItemStyleEdit
Kindly let me know if it helps.
Thanks,
Manimala.
PW
Paul Wallace
July 1, 2009 01:11 PM UTC
Yes, that works.
Thanks