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

DataSeries VS SeriesMapping

1 Answer 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Enill
Top achievements
Rank 1
Enill asked on 25 May 2010, 05:10 PM
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!

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 28 May 2010, 01:53 PM
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.
Tags
Chart
Asked by
Enill
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or