Zoom from Days to Hours Bar Chart

2 posts, 0 answers
  1. Brett
    Brett avatar
    3 posts
    Member since:
    Jun 2014

    Posted 24 Jun 2014 Link to this post

    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.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2594 posts

    Posted 27 Jun 2014 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top