Panning and Zooming with Series Data

3 posts, 0 answers
  1. James
    James avatar
    17 posts
    Member since:
    Sep 2014

    Posted 29 Mar 2016 Link to this post

    Ok, I found this thread which says you should use a dataSource for panning and zooming.  That was a couple years, and I want to make sure nothing has been updated and you still have to use a dataSource.


    This is related to my other multi-axis and zooming and panning question because before I was using series data and it was working well, but since apparently we have to use dataSource for panning and zooming I'm having some issues.

    Are there any examples of multi-axis with panning and zooming?


  2. Daniel
    Daniel avatar
    2177 posts

    Posted 01 Apr 2016 Link to this post

    Hi James,

    Using a dataSource is not a requirement for the built-in panning and zooming.  I created an example based on the multi axis demo to demonstrate the scenario.

    The custom panning and zooming can also work without a dataSource by using the setOptions method to set the new axes ranges instead of modifying the data. This wasn't possible previously in all scenarios because the categoryAxis did not support min and max values.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. James
    James avatar
    17 posts
    Member since:
    Sep 2014

    Posted 01 Apr 2016 in reply to Daniel Link to this post

    Thanks for the great example Daniel.   Previously when I was using series data, I think my problem was that I didn't have the categories array set properly in the CategoryAxis.   It's good to know that it does work with series data.
Back to Top