I am new to ZingChart.I am following this tutorial here http://www.zingchart.com/docs/features/feeds/#feeds__js
I wrote a html file ZingFeed.html
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<script>
var chartData={"refresh":{
    "type":"feed",
    "transport":"js",
    "url":"feed()",
    "interval":200
};
window.onload=function(){
    zingchart.render({
        id:"chartDiv",
        data:chartData,
        height:600,
        width:"100%"
    });
};
window.feed = function(callback) {
    var tick = {};
    tick.plot0 = parseInt(10+900*Math.random(), 10);
    callback(JSON.stringify(tick));
};
</script>
<div id='chartDiv'></div>
</body>
</html>
Nothing gets rendered on the screen. Your help will be highly beneficial and highly valued.
 
    