View Full Version : Need help in pie chart

18 Jun 2013, 1:27 PM
Hi There,

I have a pie chart where the anglefields should be changed dynamically. I am able to display the text(sprite) on the chart if it is defined on the chart creation in the items config,
but when i add it to the chart after it is created (using chart.surface.add([sprite]) ), the text is not getting displayed.

I have to do this because when i cleared the surface everything is getting removed..

Below is the screenshot for reference


19 Jun 2013, 2:34 PM
It was solved, I have to call the sprite.show(true) after adding to the chart.