Home forums Using CanvasJS Uncaught TypeError: Cannot read property '0' of null Reply To: Uncaught TypeError: Cannot read property '0' of null

#11444

Vishwas R
Keymaster

Isotonics,

Under Chart-options you are initializing dataPoints to null, because of which you are getting type error. You can set dataPoints to an empty array to overcome this type-errorType Error.