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

Zoom from Days to Hours Bar Chart

1 Answer 34 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 24 Jun 2014, 07:57 PM
Hello, 

I have seen the default behavior on the live demo of Zoom switch from Days to Weeks to Year if you zoom out far enough. I was wondering if it was possible to have data say in a week span to start in days and zoom into displaying hours. 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 27 Jun 2014, 08:46 AM
Hi Brett,

Apologies for not getting back to you earlier. 

In order to display hours when zooming I would suggest to set the categoryAxis.baseUnit to "fit". For your convenience I prepared a basic example which demonstrates a possible implementation.

Regards,
Iliana Nikolova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart
Asked by
Brett
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or