Home Forums Chart Support canvasjs.min.js:209 Uncaught TypeError: Cannot read property 'getTime' of undefi Reply To: canvasjs.min.js:209 Uncaught TypeError: Cannot read property 'getTime' of undefi

#24775

other peculiarity, if I use the php function in example to create random data the graph is displayed.

<? Php
$ limit = 50000;
$ y = 100;
$ dataPoints = array ();
for ($ i = 0; $ i <$ limit; $ i ++) {
$ y + = rand (0, 10) – 5;
array_push ($ dataPoints, array (“x” => $ i, “y” => $ y));
}
?>

if I use mine it only works with a few points