Zoom and Pan behavior

2 posts, 0 answers
  1. Viollier
    Viollier avatar
    11 posts
    Member since:
    Jul 2016

    Posted 12 Apr Link to this post

    Hi, 

    we are using a RadCartesianChartView in Xamarin.Android and we are giving the user the option to switch between zoom levels by pressing a button. When the user presses the button, we are updating the chart like this:

    Chart.BeginUpdate();
    Chart.Zoom = new RadSize(zoomX, zoomY);
    Chart.PanOffset = new RadPoint(-panX, -panY);
    Chart.EndUpdate();

    The problem is that the chart does not perform the zoom&pan directly; it seems like it goes through zoom level one before applying the new settings and the user sees a flickering effect. Is there something we can do to improve it?

     

    Thank you!

     

  2. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    691 posts

    Posted 17 Apr Link to this post

    Hello,

    I tried to reproduce the issue but with no avail. Could you please send me some sample project so I can further investigate? Also, could you please confirm the version of our library?

    I am looking forward to your reply.

    Regards,
    Ivaylo Gergov
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top