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

No auto resize Gauge

1 Answer 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chili
Top achievements
Rank 1
Chili asked on 23 Oct 2018, 07:55 AM

Hello,

Ive been using multiple graphs now. Those are: bar, scatter and gauge. Now I when I resize my screen and reload my page. The bar and scatter chart will resize perfectly. Only the gauge will keep doing his own thing. How can I fix this, and could this be a feature to add so the scatter will resize when the page reloads/resizes.

 

Kind regards.

1 Answer, 1 is accepted

Sort by
0
Accepted
Preslav
Telerik team
answered on 26 Oct 2018, 06:49 AM
Hi Chili,

To resize the Gauge, I would suggest handling the resize event of the window. In the event handler, use the resize method of the Gauge.
For example, check the JavaScript of this test page:

Regards,
Preslav
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Chili
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or