basic1.php 227 B

123456789101112
  1. <?php
  2. require_once 'bootstrap.php';
  3. //random data as X=>array of Y
  4. $data = array();
  5. for ($i = 0; $i <= 249; $i++) {
  6. $data[$i] = array(rand(0, 129), rand(0, 79), rand(0, 54), rand(0, 4));
  7. }
  8. $chartMancer->renderChart($data);