How do we destroy a Touch Chart so that the memory is released.
I need to display a variety of charts on screen, each chart has to replace the previous chart. Currently I'm clearing the DOM of the chart markup but am unable to release the memory.
I'm using the destroy() method to remove the chart object but I get the following error:
"Error: You are using a ServerProxy but have not supplied it with a url."
I'm not using any server proxy while clearing the screen though.
I am running into this issue as well. I call destroy on an existing chart and the memory is not being released.
Is there a method by which the configuration of the chart can be updated dynamically? I know there is the bind store method that will update the store used by the chart but I can't figure out how to reassign series and axes and such. I was hoping that reusing an existing chart would cut down on the fairly serious memory consumption but so far no luck.
We reported this issue about 9 months ago or more, and it was acknowledged as a bug with a memory leak in the Chart package. When destroy ) is called on a Chart object, it is not released, not garbage collected, and the memory is not reclaimed. So, destroying a Chart object and then creating a new one, causes a memory leak.
Has this been fixed yet? The last report we had recently is that it was not yet fixed. Is it being worked on?