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

RangeAreaChart CalculateSegments

Thread ID:





98024 Jan 26,2011 11:31 AM UTC Jan 27,2011 06:13 AM UTC WPF 1
Tags: Chart
W Dexter
Asked On January 26, 2011 11:31 AM UTC

I am receiving the following exception when updating a RangeAreaChart ChartSeries data.

The exception seems to be related to the range on the PrimaryAxis axis. If I have a small range I get the following exception. However is I set a larger range on my PrimaryAxis I do not get the exception.

What am I doing wrong?


StackTrace: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Syncfusion.Windows.Chart.ChartRangeAreaType.CalculateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
at Syncfusion.Windows.Chart.ChartRangeAreaType.UpdateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
at Syncfusion.Windows.Chart.ChartType.Update(ChartSeries series)
at Syncfusion.Windows.Chart.ChartSeries.UpdateSegments()
at Syncfusion.Windows.Chart.ChartSeries.Recalculate()
at Syncfusion.Windows.Chart.ChartSeries.Invalidate()
at Syncfusion.Windows.Chart.ChartArea.UpdateArea()
at Syncfusion.Windows.Chart.ChartArea.OnSeriesAppearanceChanged(Object sender, EventArgs e)
at Syncfusion.Windows.Chart.ChartSeries.RaiseAppearanceChanged(Object sender, EventArgs args)
at Syncfusion.Windows.Chart.ChartSeries.OnDataChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at Syncfusion.Windows.Chart.ChartBindingData.ResetPoints()
at Syncfusion.Windows.Chart.ChartBindingData.OnChartSeriesDataCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)

Krishna Kumar [Syncfusion]
Replied On January 27, 2011 06:13 AM UTC

Hi Dexter,

Thanks for choosing Syncfusion Products.

We are not able to reproduce your mentioned issue. Could you please update us more information about the assembly version you are using? If possible, please send us a simple sample which demonstrates this issue. So that we can investigate more about this issue and provide you the solution.

Please let me know if you have any queries.



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