enabled: <?php echo $dataLabels ? 'true' : 'false'; ?> }, marker: { enabled: <?php echo $markers ? 'true' : 'false'; ?> } } }, series: [ <?php $series = array(); for ($seriesNumber = 0; $seriesNumber < $seriesPerChart; $seriesNumber++) { $series[] = '{ data: [' . join(randomData(), ',') . ']}'; } echo join($series, ",\n"); ?> ] }); }); </script> <?php } ?> </body> </html>
}, <?php if ($noMarkers): ?> plotOptions: { series: { marker: { enabled: false, states: { hover: { enabled: true } } } } }, <?php endif ?> series: [ <?php for ($seriesNumber = 0; $seriesNumber < $seriesPerChart; $seriesNumber++) : ?> { data: [<?php echo join(randomData(), ',') ?>] }, <?php endfor ?> ] }); }); </script> <? endfor ?> </body> </html>