Home forums Using CanvasJS Dynamic Chart Using Data From JSON File Reply To: Dynamic Chart Using Data From JSON File

#12325

Vishwas R
Keymaster

Sandonet,

Replacing $.getJSON("test.json" + (dataPoints.length + 1) + (dataPoints[dataPoints.length - 1].y) + function(data) with $.getJSON("test.json", function(data) { in updateChart function should work fine.