100% heightt

3 posts, 0 answers
  1. Sagi
    Sagi avatar
    61 posts
    Member since:
    Sep 2008

    Posted 02 Jul 2013 Link to this post

    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. Sagi
    Sagi avatar
    61 posts
    Member since:
    Sep 2008

    Posted 03 Jul 2013 Link to this post

    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
  3. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 04 Jul 2013 Link to this post

    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!
Back to Top