Please Help,
i want to make chart from my own table naming "anggaran"(picture in attachment).
And then i used highchart with the code like this
<?php
$this->Widget(‘ext.highcharts.HighchartsWidget’, array(
‘options’=>array(
‘title’ => array(‘text’ => ‘Grafik Anggaran’),
‘xAxis’ => array(
‘categories’ => array($model->tahun)
),
‘yAxis’ => array(
‘title’ => array(‘text’ => ‘Dana’)
),
‘series’ => array(
array(‘name’ => ‘Dana’, ‘data’ => array($model->dana))
)
)));
?>
why it doesnt work?
thankyou for helping me