Home forums Using CanvasJS problem with chart Reply To: problem with chart

#6316

Sunil Urs
Keymaster

dataPoints should be an array. What you are using instead is an object with indexes 0,1,2,etc. Below is how the array should look like.

"dataPoints": [
        {
            "x": 1399766400000,
                "y": 97.804
        },
        {
            "x": 1399852800000,
                "y": 98.387
        }]