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

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

1 Answer 105 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Cindy
Top achievements
Rank 1
Cindy asked on 01 Nov 2013, 10:27 PM
how do I make chart responsive to screen resize like grids are?

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 04 Nov 2013, 09:02 AM
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!
Tags
Chart
Asked by
Cindy
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or