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

100% heightt

2 Answers 67 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sagi
Top achievements
Rank 1
Sagi asked on 02 Jul 2013, 07:28 PM
Hi,
I'm trying to make a chart to stretch on 100% height of its div parent which is created dynamically.
Please follow the attached file and see I'm unable to get the desired result as the chart height get the value of 100px and does not stretch on the entire parent height.
How can I resolve this issue ?
thx
Sagi




2 Answers, 1 is accepted

Sort by
0
Sagi
Top achievements
Rank 1
answered on 03 Jul 2013, 12:44 PM
I see that the problem is not limited to dynamically created elements.
When I first render the chart on a div (height set to 100%) , the chart stretches to the entire height,
However when I change the container height the Chart will not re-size.
Please check out the attached file
0
Iliana Dyankova
Telerik team
answered on 04 Jul 2013, 06:29 AM
Hello Sagi,

Generally speaking once rendered the Chart cannot be resized due to browser limitations, however you could refresh it in order to achieve the desired outcome. For your convenience I updated the example with the suggested approach and attached it back.

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
Charts
Asked by
Sagi
Top achievements
Rank 1
Answers by
Sagi
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or