I am looking for a sample of a responsive pie chart. I have tried different suggestions from the forums but none seem to work. Is there a fully worked sample I can reference?
1 Answer, 1 is accepted
0
Alexander
Telerik team
answered on 25 Aug 2023, 01:26 PM
Hi Jeffrey,
A possible recommendation to achieve the desired outcome would be to explicitly re-calculate the Chart's dimensions by utilizing the .refresh() method of the component whilst wiring to the window.resize event.
The aforementioned approach would then produce a result identical to the following once the dimensions of the viewport change:
Please give this suggestion a try and let me know how it works out for you.
Kind Regards,
Alexander
Progress Telerik
Stay tuned by visiting our public roadmap and feedback portalpages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.