score:0

Accepted answer

the problem was that i was passing an object and it expected an array. my var data is a single json object containing multiple json objects. after i applied valuetemp = json.parse(data.temperature); , it returns an array of temperature values, exactly what i needed.

score:0

have you tried accessing the update function as a dom object?

window.mycharttemp.update(); or document.mycharttemp.update();


Related Query

More Query from same tag