예제 #1
0
        $('#container').highcharts({
            chart: {
                type: 'column'
            },
            title: {
                text: '<?php 
echo $report_caption . ' (' . System_helper::Get_Eng_to_Bng($week_start_date) . ' ' . $CI->lang->line('TO') . ' ' . System_helper::Get_Eng_to_Bng($yesterday) . ')';
?>
'
            },
            xAxis: {
                categories: [<?php 
$index = 0;
foreach ($highcharts_info as $element) {
    if (!empty($element['element_name'])) {
        $element_name = Dashboard_helper::get_div_zilla_upazilla($element['element_name']);
        if ($index == 0) {
            echo "'" . $element_name . "'";
        } else {
            echo ",'" . $element_name . "'";
        }
        $index++;
    }
}
?>
]
            },
            yAxis : {
                title : {
                    text : '<?php 
echo $CI->lang->line('TAKA_LAC');