Zooming/Scrolling reset

2 posts, 0 answers
  1. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 06 Jul 2010 Link to this post

    I am using a chart with zooming a scrolling.
    According to some filters I have I sometime Rebind the chart ItemSource to different data, and this requires to reset the scrollig, and I do this by executing on DataBuond event:
    ChartArea.ZoomScrollSettingsX.SetSelectionRange(0, 1);

    but this doesn't seem to work properly.
    Sometimes the chart crasches, other times the scrolling range is not reset at all.

    Would you please show me a an example on how you would handle this kind of situation?

  2. Ves
    Ves avatar
    2926 posts

    Posted 09 Jul 2010 Link to this post

    Hi Andrea,

    I have attached a small example, showing this in action. It has been tested against the latest official version -- 2010 Q1 SP2 and against 2010 Q2 Beta.

    Kind regards,
    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