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

Chat re sizing issue

1 Answer 66 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Shinoj
Top achievements
Rank 1
Shinoj asked on 11 Nov 2014, 11:39 AM
i have three different charts under three different <div>. Which is placed under bootstrap tab. Initially when the page loads the first chart is loading properly. If i click on the second tab the second chart will be displayed but the chart size is getting reduced from the actual size. same is happening for the third tab also. If press f12 in my chrome then the chart is coming back to initial stage!. Basically the resize is not working..

Any help?

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 13 Nov 2014, 07:24 AM
Hi Shinoj,

The observed issue is caused by some of the charts are initialized inside hidden containers - in this case the JavaScript calculations don't work. In order to achieve the expected result you should call kendo.resize when chart containers become visible.

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