This is a migrated thread and some comments may be shown as answers.

Chart max data capacity

1 Answer 43 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Amir Kotler
Top achievements
Rank 1
Amir Kotler asked on 16 Aug 2009, 03:58 PM
Hi,

I craeted a chart with "LineSeriesDefinition" and the ItemSource is ObservableCollection<ObservableCollection<T>>
When <T> has the next properties:

"Tab (string)", "Date (DateTime)", "Count (int)"



for each sub list I made the next definitions:

 

SeriesMapping sm1 = new SeriesMapping();

 

 

LineSeriesDefinition d1 = new LineSeriesDefinition();

 

d1.ShowItemLabels =

true;

 

d1.ShowItemToolTips =

true;

 

 

sm1.SeriesDefinition = d1;

sm1.LegendLabel = objectValue.ToString();

sm1.CollectionIndex = collectionIndex;

 

sm1.ItemMappings.Add(

new ItemMapping("Tab", DataPointMember.LegendLabel));

 

sm1.ItemMappings.Add(

new ItemMapping("Tab", DataPointMember.Label));

 

sm1.ItemMappings.Add(

new ItemMapping("Date", DataPointMember.XValue));

 

sm1.ItemMappings.Add(

new ItemMapping("Count", DataPointMember.YValue));

 

chart.SeriesMappings.Add(sm1);


Everyting works fine untill I giving the ItsmSource a struct with the next capacity 13 ObservableCollections that each contains an ObservableCollection with 15 instances of T, then all the application crash

1 Answer, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 18 Aug 2009, 11:32 AM
Hello Amir Kotler,

We are unable to reproduce the problematic behavior in our local tests. Please review the attached sample application that follows your guidelines and let us know how we can observe the issue so we can advise you further (note the application uses the latest official version of the controls).


Regards,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart
Asked by
Amir Kotler
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or