@den_boey,
Chart properties like data, dataPoint, x, y, etc. are case-sensitive. In the sample project shared above, the key of x and y-values in dataPoints are passed as { X: 10, Y: 10}
instead of { x: 10, y: 20 }
. Mentioning key(within key-value pair) of JSON in lowercase should work fine in this case. Please take a look at this updated sample.
—
Shashi Ranjan
Team CanvasJS