hi Guys,
i’m new comer, and i have a question, could you help?
i have a web page, which has a chart canvas & a slider,
say the slider has 100 positions.
when i pull the slider to another position,
ajax will load a PHP script with some data for canvasjs.
then i will new a chart, and fill in the new data:
var chart = new CanvasJS.Chart(“chartContainer”
…
and render.
after a few times,
memory usage of browser will keep increase,
and browser reponse will be slower & slower,
i think older data needs be released before i allocate a new chart?
how could i do it?
i just can’t find an answer in the document.
thank you.
davy