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 331 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 Dyankova
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!
dinesh
Top achievements
Rank 1
commented on 18 Oct 2022, 07:14 AM

But refresh is not helping to lengthy chart title to fold when resize. For that resolve that do we any solution ?
Tags
Chart
Asked by
Cindy
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or