Esempio n. 1
0
							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>
Esempio n. 2
0
				},
				<?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>