RadChart, ScatterSeriesDefinition

4 posts, 0 answers
  1. Andrey
    Andrey avatar
    8 posts
    Member since:
    Aug 2012

    Posted 28 May 2012 Link to this post

    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.

     

     

     

     

  2. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 31 May 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Andrey
    Andrey avatar
    8 posts
    Member since:
    Aug 2012

    Posted 31 May 2012 Link to this post

    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.

  5. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 05 Jun 2012 Link to this post

    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 >>

Back to Top