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

Intercept the double click on a series in the Legend

Thread ID:





68356 Sep 19,2007 10:08 AM UTC Jan 22,2010 07:54 PM UTC WinForms 4
Tags: Chart
Simone Galleni
Asked On September 19, 2007 10:08 AM UTC

Hi all,

the standard behaviour for the double click on a series of the legend is to open the series configurator (color, symbol, etc...).

I'd like to avoid this (I know how to disable the opening of series configuration dialog) but I'd like to cast an event that says "the series XYZ has been click in the legend".

How can be done this?

Many thanx in advance

Administrator [Syncfusion]
Replied On September 21, 2007 04:23 AM UTC

Hi Ampelio,

Thank you for using Syncfusion products.

I am afraid it is not possible to directly raise event for particular legend object.

But as a workaround , you can set 'VisibleCheckBox' property for the legend object and raise alert using CheckedChanged event.

The following code snippet illustrates this.


this.chartControl1.Legend.Items[0].CheckedChanged+=new EventHandler(Series1_CheckedChanged);

Please refer the modified ChartLegendSample and let me know if this helps you.



Simone Galleni
Replied On September 26, 2007 01:10 PM UTC

Thanks Jaya,

unfortunately we are using the chech boxes to show/hide series, so we cannot use them to generate a "series double click" event.

May I suggest you to add this feature for future version?


Administrator [Syncfusion]
Replied On September 26, 2007 06:44 PM UTC

Hi Ampelio,

Thanks for the update.

If your intention is to raise double click for the series in the ChartLegend, then it is not possible . Since ChartLegend is rendered as an image ,you cannot access the series in it. You can apply only the customizations to ChartLegend that I specified in the previous post.

Anyhow we have logged 'Add ability to raise double click for the series in the ChartLegend' as a feature request and notified our development team. We will implement this feature in our forthcoming new version releases or service pack releases. We usually have a timeframe of at least three months between releases. The feature implementation would also greatly depend on the factors like product design, code compatibility and complexity. We will get back to you once the feature is implemented.

Thanks for suggesting this feature.

Please let us know if you have any other queries.


Administrator [Syncfusion]
Replied On January 22, 2010 07:54 PM UTC

Was this enhancement ever considered?


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

or the page will be automatically redirected to 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