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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

show/hide series

Thread ID:

Created:

Updated:

Platform:

Replies:

75193 Jul 16,2008 04:26 AM UTC Jul 16,2008 08:19 AM UTC Windows Forms 2
loading
Tags: Chart
abc
Asked On July 16, 2008 04:26 AM UTC

I am using syncfusion 5.2 chart control. I have a requirement that i need to show/hide series of line chart. I know that there is a way to achieve this using checkbox in legend. But my functionality is different. I want to show hide form button which is on a form, not in chart control.
I will be very thankful if anyone could help me with this.


Manohari [Syncfusion]
Replied On July 16, 2008 05:49 AM UTC

Hi Prabhjeet,

It is possible to show or hide the particular Series in a Chart using the ChartSeries.Visible property as given below

Sample Code:

this.ChartControl1.Series[0].Visible=true;

I have attached a sample that shows or hide based on the input from check box in the Form, in the link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75193/Sample1.htm

Please let me know if this meets your requirement. Thanks for your patience.

Regards,
Manohari.R


Manohari [Syncfusion]
Replied On July 16, 2008 08:19 AM UTC

Hi Prabhjeet,

It is possible to show or hide the particular Series in a Chart using the ChartSeries.Visible property as given below

Sample Code:

this.ChartControl1.Series[0].Visible=true;

I have attached a sample that shows or hide based on the input from check box in the Form, in the link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75193/Main.htm

Please let me know if this meets your requirement. Thanks for your patience.

Regards,
Manohari.R


CONFIRMATION

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.

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

;