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

RadChart, ScatterSeriesDefinition

3 Answers 45 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 28 May 2012, 02:03 PM

Hi All,
I have a problem when with ScatterSeriesDefinition. I have a chart with 85 series, each series contains one item. First time chart is created with no problems but after if I try to rebind it then SeriesMappings.Add takes a lot of time. So if I reduce number of series to 10 it works fine afrer rebinding, 40 - kind of ok, but 50 I would say doesn't work at all.
Another interesting thing that if I change mentioned serie to bar graph serie, for example, then it works absolutly fine with any number of series.

Is there limit for series amount for ScatterSeriesDefinition?
Thanks.

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 31 May 2012, 08:31 AM
Hi Andrey,

There is no actual limit on the series amount for ScatterSeriesDefinition. The slow performance is due to many series. If you have just one series with 85 items then you won't have any issues. May I know is there any special reason why do you need to have 85 series?

Regards,
Rosko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Andrey
Top achievements
Rank 1
answered on 31 May 2012, 02:36 PM
Hi Rosko,

Thank you for you response. Let me explain the reason and may be you will give me some ideas how to optimize. Chart, that I’m trying to build, is related to risk management, see attachment, so every point should be represented in the legend in order to select and see the position. And if I combine everything in one series I’ll be able to select all points in the series only.

Thanks, Andrey.

0
Rosko
Telerik team
answered on 05 Jun 2012, 07:21 AM

Hi Andrey,

The Grouping feature of RadChart will help you to achieve the desired effect in one series mapping. You can see the online demo and the online readings about it. A little more help about the issue, you need to group by a property which is unique for every object visualized on the chart. If it is not unique to every object, then some of the points will share the same label in the legend. In case you do not have such property, then you can group by all the properties of the object. Even then exists a slight chance for points to share the same label in the legend. This will happen when the objects share the same values for their properties.

Regards,
Rosko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Andrey
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Andrey
Top achievements
Rank 1
Share this question
or