} } }, tooltip: { headerFormat: '<span style="font-size:11px">{series.name}</span><br>', pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>' }, series: [{ name: "Brands", colorByPoint: true, data: [ <?php foreach ($rs as $r) { ?> { name: "<?php echo MyDate::monthName($r['month']); ?> ", y: <?php echo $r['bil']; ?> }, <?php } ?> ] }] }); }); </script>