This widget makes it easy to render charts and graphs within your web application by utilising the visualize jQuery plugin as found here: http://code.google.com/p/dwpe/
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
$this->widget('application.extensions.cvisualizewidget.CVisualizeWidget',array(
'data'=>array(
'headings'=>array(
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
),
'data'=>array(
'Hits' => array(4,8,25,56,23,78),
'Visits' => array(2,6,3,14,56,78),
'Downloads'=>array(12,4,15,99,4.99)
)
),
'options' => array(
'title'=>'Sample Data',
'width'=>950,
'height'=>250
)
));
For full information about the options included with this widget, please visit the project home page
View Example charts
Change Log ¶
June 13, 2010 ¶
- Initial release.
June 19, 2010 ¶
- Bug fixed allowing multiple widgets on one page
User Contributed Notes 2
Nice
Very nice and easy to use!
Tnx
Agreed
Yes, very nice.
Although, the css that the widget uses changes global styles, such as font-size. Easy fix though.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.