This is a migrated thread and some comments may be shown as answers.

Panning and Zooming with Series Data

2 Answers 51 Views
Charts
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 29 Mar 2016, 10:53 PM

Ok, I found this thread http://www.telerik.com/forums/chart-pan-zoom-feature-without-setting-the-datasource-property 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 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 01 Apr 2016, 08:08 AM
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.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
James
Top achievements
Rank 1
answered on 01 Apr 2016, 02:08 PM
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.
Tags
Charts
Asked by
James
Top achievements
Rank 1
Answers by
Daniel
Telerik team
James
Top achievements
Rank 1
Share this question
or