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.

Removing series from a chart

Thread ID:





12949 Apr 15,2004 06:31 PM Apr 21,2004 07:42 AM Windows Forms 4
Tags: Chart
Brad Sullivan
Asked On April 15, 2004 06:31 PM

I''m trying to clear the series from my chart so I can give it an updated one. When I try to clear the series by calling: myChart.Model.Series.Clear() I get this exception. Additional information: Cannot remove the specified item because it was not found in the specified Collection. I get similar exceptions using the Remove and RemoveAt methods. What am I doing wrong? Is this not the proper way to update the data? Thanks, Brad

Michael Mann
Replied On April 20, 2004 08:57 AM

Hi, I''m running into the same problem when I use to clear a collection with or without entries. In both cases this error shouldn''t occur. Michael Mann

Davis Jebaraj [Syncfusion]
Replied On April 20, 2004 07:17 PM

Hi, The ChartControl'' Series can be cleared using the ChartControl.Series.Clear method. Please see the sample linked to below: http://www.syncfusion.com/support/user/Uploads/ChartSeriesDelete_5952.zip Thank you for your patience. Regards, Davis

Holger Persch
Replied On April 21, 2004 05:03 AM

Hi, There is still a ''System.ArgumentException'' exception been thrown on ''Series.Clear()''. And there is no ''RoundingPlaces'' property available, I suppose you are using a newer verion of Essential Chart. Regards, Holger Persch

Davis Jebaraj [Syncfusion]
Replied On April 21, 2004 07:42 AM

Hi, Sorry about that. The new version will be made available for download shortly. We regret for the inconvenience caused. Regards, Davis


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.

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.