DataSeries VS SeriesMapping

2 posts, 0 answers
  1. Enill
    Enill avatar
    41 posts
    Member since:
    Apr 2010

    Posted 25 May 2010 Link to this post

    I would like to know if there is any situation where using a 'DataSeries' over 'SeriesMapping' is better?

    - SeriesMapping deal with large amount of [x,y] points better than DataSeries do. (With series sampling)
    - SeriesMapping support data binding
    - SeriesMapping can do about everything a DataSeries can do but better(As far as i know)

    So, am i missing something?

    Thanks in advance!
  2. Nikolay
    Admin
    Nikolay avatar
    397 posts

    Posted 28 May 2010 Link to this post

    Hi Enill,

    The difference between using the two approaches is that SeriesMapping allows for configuring a data object, which is mapped to the Chart and in this scenario RadChart itself creates the DataPoints, whereas using DataSeries requires setting the DataPoints manually.

    In general, we would strongly recommend using SeriesMapping, unless you need a specific customization that requires setting DataPoints manually. One such scenario could be if you're creating a threshold line - you may configure a Line series using DataSeries, then setting two or more DataPoints with the same values and thus simulating a threshold line.

    Hope this helps.

    Sincerely yours,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top