4 $this->
pageTitle=Yii::app()->name .
' - Graphs & Charts';
9 <div
class=
"page-header">
10 <h1>Graphs & Charts - <small>Flot and Sparkline</small></h1>
13 <div
class=
"row-fluid">
16 $this->beginWidget(
'zii.widgets.CPortlet', array(
17 'title'=>
"<i class='icon-user'></i> Live Visitors",
21 <div
class=
"auto-update-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
22 <?php $this->endWidget();?>
26 $this->beginWidget(
'zii.widgets.CPortlet', array(
27 'title'=>
"<i class='icon-tag'></i> Account Stats",
31 <div style=
"text-align:center;">
32 <p style=
"margin-bottom:20px;">
33 <strong>Open Invoices - $24,270</strong><br />
34 <span
class=
"pie"></span>
36 <p style=
"margin-bottom:20px;">
37 <strong>Overdue Invoices - $45,690</strong><br />
38 <span
class=
"dynamicbar">Loading..</span>
40 <p style=
"margin-bottom:20px;">
41 <strong>Converted Quotes - $165,320</strong><br />
42 <span
class=
"inlinesparkline">1,4,4,7,5,9,10</span>
44 <p style=
"margin-bottom:20px;">
45 <strong>Monthly Income - $245,000</strong><br />
46 <span
class=
"dynamicsparkline">Loading..</span>
52 <?php $this->endWidget();?>
56 <div
class=
"row-fluid">
59 $this->beginWidget(
'zii.widgets.CPortlet', array(
60 'title'=>
"<i class='icon-user'></i> Total Visitors",
64 <div
class=
"visitors-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
66 <?php $this->endWidget();?>
70 <div
class=
"row-fluid">
73 $this->beginWidget(
'zii.widgets.CPortlet', array(
74 'title'=>
"<i class='icon-repeat'></i> Bar chart",
78 <div
class=
"horizontal-bars-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
79 <?php $this->endWidget();?>
83 $this->beginWidget(
'zii.widgets.CPortlet', array(
84 'title'=>
"<i class='icon-share'></i> Returning Visitors",
88 <div
class=
"lines-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
90 <?php $this->endWidget();?>
94 <div
class=
"row-fluid">
97 $this->beginWidget(
'zii.widgets.CPortlet', array(
98 'title'=>
"<i class='icon-pencil'></i> Data Usage",
102 <div
class=
"stacked-bars-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
103 <?php $this->endWidget();?>
107 $this->beginWidget(
'zii.widgets.CPortlet', array(
108 'title'=>
"<i class='icon-arrow-down'></i> Data Usage Monthly",
112 <div
class=
"order-bars-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
114 <?php $this->endWidget();?>
118 <div
class=
"row-fluid">
121 $this->beginWidget(
'zii.widgets.CPortlet', array(
122 'title'=>
"<i class='icon-tint'></i> Pie Charts",
126 <div
class=
"simple-pie" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
127 <?php $this->endWidget();?>
131 $this->beginWidget(
'zii.widgets.CPortlet', array(
132 'title'=>
"<i class='icon-adjust'></i> Location Chart",
136 <div
class=
"simple-donut" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
138 <?php $this->endWidget();?>
142 <div
class=
"row-fluid">
145 $this->beginWidget(
'zii.widgets.CPortlet', array(
146 'title'=>
"<i class='icon-check'></i> Other chart",
150 <div
class=
"simple-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
151 <?php $this->endWidget();?>
155 $this->beginWidget(
'zii.widgets.CPortlet', array(
156 'title'=>
"<i class='icon-info-sign'></i> Pie chart",
160 <div
class=
"pieStats" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
162 <?php $this->endWidget();?>