3 $cs = Yii::app()->getClientScript();
4 $cs->registerScriptFile(
'http://www.google.com/jsapi');
5 $cs->registerCoreScript(
'jquery');
6 $cs->registerScriptFile(
$baseUrl.
'/js/jquery.gvChart-1.0.1.min.js');
9 $this->
pageTitle=Yii::app()->name .
' - Graphs & Charts';
14 <h1>Graphs & Charts</h1>
17 $this->beginWidget(
'zii.widgets.CPortlet', array(
18 'title'=>
'<span class="icon icon-chart_bar">Column Chart</span>',
24 <table
class=
"myChart">
94 <?php $this->endWidget();?>
95 <div
class=
"container showgrid">
98 $this->beginWidget(
'zii.widgets.CPortlet', array(
99 'title'=>
'<span class="icon icon-chart_pie">Pie Chart</span>',
105 <table
class=
"myChart">
157 <?php $this->endWidget();?>
159 <div
class=
"span-11 last">
161 $this->beginWidget(
'zii.widgets.CPortlet', array(
162 'title'=>
'<span class="icon icon-chart_bar">Line Chart</span>',
168 <table
class=
"myChart">
207 <?php $this->endWidget();?>
211 $this->beginWidget(
'zii.widgets.CPortlet', array(
212 'title'=>
'<span class="icon icon-chart_bar">Bar Chart</span>',
218 <table
class=
"myChart">
265 <?php $this->endWidget();?>
268 $this->beginWidget(
'zii.widgets.CPortlet', array(
269 'title'=>
'<span class="icon icon-chart_bar">Area Chart</span>',
275 <table
class=
"myChart">
322 <?php $this->endWidget();?>
324 <div
class=
"flash-notice">
325 <p>This is a
"static" page. You may change the content of
this page
326 by updating the file <tt><?php echo __FILE__; ?></tt>.</p>