ItemsSource vs SeriesMappings difference?

3 posts, 0 answers
  1. Sirum
    Sirum avatar
    5 posts
    Member since:
    Aug 2011

    Posted 14 Dec 2011 Link to this post

    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. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 19 Dec 2011 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sirum
    Sirum avatar
    5 posts
    Member since:
    Aug 2011

    Posted 22 Dec 2011 Link to this post

    Thanks!

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

    Best regards

    Sirum

Back to Top