var chart = new SmoothieChart({grid:{fillStyle:'#ffffff'},labels:{fillStyle:'#000000'},tooltip:true,timestampFormatter:SmoothieChart.timeFormatter}),
timeSeries = new TimeSeries();
chart.addTimeSeries(timeSeries, { strokeStyle: 'blue', lineWidth: 1 , fillStyle:'rgba(0,128,255,0.30)'});
chart.streamTo(document.getElementById('chart'), 100);
setInterval(function()
{
timeSeries.append(new Date().getTime(), Math.random()*100);
}, 1000);
//Math.random()*1000 to be replaced with JSON data
I do not know how to output JSON data through Smoothie Charts. I would greatly appreciate it if someone could help guide me.