Forum Replies Created by reset

Viewing 1 post (of 1 total)
  • 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

Viewing 1 post (of 1 total)