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

destroy vs hide vs empty

1 Answer 47 Views
Charts
This is a migrated thread and some comments may be shown as answers.
morteza
Top achievements
Rank 1
morteza asked on 20 Jun 2018, 01:27 PM
i have multiple charts,i need to show and hide them,but the problem is once its hidden,when i want to show it with new data,first it shows the hidden data and then updates with new one

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 22 Jun 2018, 07:04 AM
Hi Morteza,

I tested the scenario, and it seems that the Chart re-renders as expected on my side:
Also, please use the resize method to make sure that the hidden chart is sized okay after showing it.
Please, check the above Dojo, and let me know if I am doing something wrong.


Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
morteza
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or