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

ItemsSource vs SeriesMappings difference?

2 Answers 84 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Sirum
Top achievements
Rank 1
Sirum asked on 14 Dec 2011, 12:05 PM
Hi,

I can not understand what is logical difference between Properties ItemsSource and SeriesMappings on a RadChart control.

I understand what ItemsSource is made for, but do not understand what SeriesMappings is made for?

Please help me to resolve this issue.

Regards
Sirum

2 Answers, 1 is accepted

Sort by
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 19 Dec 2011, 10:16 AM
Hello Sirum,

I would suggest you to check the following help article here that explains the concepts -- basically RadChart.ItemsSource specifies the datasource you will be using for your chart (usually a list of business objects), while each SeriesMapping represents a chart series you would like to visualize and defines the series type and the relations between the business object properties and the required values for RadChart (YValue, XCategory, etc.). Also if you would like to visualize several series from different datasources, you need to use SeriesMapping.ItemsSource instead of RadChart.ItemsSource.


Greetings,
Bart.
0
Sirum
Top achievements
Rank 1
answered on 22 Dec 2011, 11:38 AM
Thanks!

It helps in sence of showing the direction to take for further reading and understanding.

Best regards

Sirum

Tags
Chart
Asked by
Sirum
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Sirum
Top achievements
Rank 1
Share this question
or