how do I make chart responsive to screen resize like grids are?

2 posts, 0 answers
  1. Cindy
    Cindy avatar
    10 posts
    Member since:
    Nov 2012

    Posted 01 Nov 2013 Link to this post

    how do I make chart responsive to screen resize like grids are?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 04 Nov 2013 Link to this post

    Hi Cindy, 

    In order to achieve the expected result you should refresh the chart on window resize:

    $(window).resize(function(){
        $("#chart").data("kendoChart").refresh();
    });
    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top