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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with CreateSegments method in ColumnSeries

Thread ID:

Created:

Updated:

Platform:

Replies:

118931 Apr 24,2015 08:37 PM UTC Feb 26,2018 02:29 PM UTC WPF 2
loading
Tags: SfChart
Dario Quispe
Asked On April 24, 2015 08:37 PM UTC

Hi,

I populate dinamically a SfChart which Series is collection of series (LineSeries, ColumnSeries, etc.).
For chart preview purpose, we create a new series collection from current Series and clone each series before add to the new series collection.

The problem occurs when we try to create a chart preview with ColumnSeries.

Exception : The given key was not present in the dictionary
StackTrace :
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase currentseries)
   at Syncfusion.UI.Xaml.Charts.ColumnSeries.CreateSegments()
   at CanmetENERGY.IBioref.UI.Charts.ColumnSerie.CreateSegments() in c:\Users\dquispeg\Desktop\Projets\Bioraffinerie\trunk\IBioref\UI\Charts\ColumnSerie.cs:line 244

Have you an idea how to fix this problem ?

Thanks,

Dario


Sumathi Jayaraj [Syncfusion]
Replied On April 27, 2015 11:22 AM UTC

Hi Dario,

Thanks for contacting Syncfusion support.

We have analyzed your requirement and we are unable to reproduce the issue in our side. We have prepared a sample based on your requirement. If problem persist, please revert us with the modified sample in order to reproduce the issue with replication procedure. This would be helpful for us to serve to better. Please find the sample in the following location.

Sample: Chart_WPF_Sample.zip

Regards,
Sumathi J

dev
Replied On February 26, 2018 02:29 PM UTC

Hi,

I populate dinamically a SfChart which Series is collection of series (LineSeries, ColumnSeries, etc.).
For chart preview purpose, we create a new series collection from current Series and clone each series before add to the new series collection.

The problem occurs when we try to create a chart preview with ColumnSeries.

Exception : The given key was not present in the dictionary
StackTrace :
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase currentseries)
   at Syncfusion.UI.Xaml.Charts.ColumnSeries.CreateSegments()
   at CanmetENERGY.IBioref.UI.Charts.ColumnSerie.CreateSegments() in c:\Users\dquispeg\Desktop\Projets\Bioraffinerie\trunk\IBioref\UI\Charts\ColumnSerie.cs:line 244

Have you an idea how to fix this problem ?

Thanks,

Dario


Paragraph

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

;