UI freeze when rebinding or closing chart

4 posts, 0 answers
  1. Timo
    Timo avatar
    7 posts
    Member since:
    Oct 2010

    Posted 20 Oct 2011 Link to this post

    We are displaying several line series to a total of about a few hundred points, and we are experiencing problems with the UI freezing when the chart is being drawn or disposed. We have disabled point marks and animations, and its the same. Is there any way to at least keep the UI responsive?
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 24 Oct 2011 Link to this post

    Hi Timo,

    Could you confirm whether you have disabled only series pointmarks, or you have disabled series item labels and tooltips as well?

    Generally by disabling all three features (pointmarks, labels, and tooltips), the series will automatically enter in "fast" rendering mode i.e. it will render significantly less visuals as no visuals for each specific data point will be drawn but only a single polyline element.


    All the best,
    Giuseppe
    the Telerik team

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

  3. Timo
    Timo avatar
    7 posts
    Member since:
    Oct 2010

    Posted 25 Oct 2011 Link to this post

    Unfortunately we need the tooltips, so those are not disabled.
  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 27 Oct 2011 Link to this post

    Hi Timo,

    Unfortunately if any of the three features is enabled (tooltips, point marks, labels), RadChart will still generate a separate transparent visual for each data point that is used for interactivity handling and this will add significant performance hit in scenarios where large number of data points are displayed.

    Alternatively, you can enable the data sampling feature of RadChart (the default threshold value is 200 but can be modified via the SamplingSettings.SamplingThreshold property).


    Kind regards,
    Giuseppe
    the Telerik team

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

Back to Top