Yii Framework Forum: [Ask] Making Chart - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Ask] Making Chart Rate Topic: -----

#1 User is offline   yudha77 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 29-January 13

Posted 30 January 2013 - 02:22 AM

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

Attached File(s)

  • Attached File  1.PNG (35.59K)
    Number of downloads: 17
  • Attached File  2.PNG (9.73K)
    Number of downloads: 15

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users