<script type="text/javascript">
    var chart1
    $(function () {
        chart1 = new Highcharts.Chart({
            chart: {
                renderTo: 'container_chart',
                type: 'column'
            },
            title: {
                text: "<?php echo $title_text; ?>"
            },
            xAxis: {
                categories: <?php echo $categories_data; ?>
            },
            yAxis: {
                title: {
                    text: 'จำนวนครั้ง'
                }
            },
            series: <?php echo $series_data; ?>
        });
    });
</script>
<hr/>
<div id="container_chart" style="min-width: 400px; height: 400px; margin: 0 auto"></div>