How can I make a dinamic chart?

Hi,

I have a problem when I want to change dinamically the data of chart in “jsarray” in real time.
I have a php script that I call an AJAX function and it returns that new data array, but I can’t repaint the chart in real time.

If Somebody can help me, please reply me.
See you soon,

MOtSi

something like the next can be used to repaint chart with new dataset

chart.clearAll() chart.parse(new_data, "jsarray");

Yes, but it doesn’t work with Ajax. Because, when the ajax function returns the new data, ‘parse’ method don’t found the data object…:frowning:

See you,

MOtSi

Can you provide a code snippet, how you are retrieving new code ( client side part ) ?