When executing dataprovider.refresh() for a chart component it redraws the chart.
How do I determin when the chart is redrawn?
I would like to take a png screen shot of the chart when it is fully drawn.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should wait until chart finishes its rendering. After the code, which performs redrawing logic is executed,
FlexEvent.UPDATE_COMPLETEis dispatched. And you can see redrawn chart on the next screen update. Try the following code: