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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing series from a chart

Thread ID:





12949 Apr 15,2004 10:31 PM UTC Apr 21,2004 11:42 AM UTC WinForms 4
Tags: Chart
Brad Sullivan
Asked On April 15, 2004 10:31 PM UTC

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 12:57 PM UTC

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 11:17 PM UTC

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 09:03 AM UTC

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 11:42 AM UTC

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.

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

Live Chat Icon For mobile
Live Chat Icon