cvisualizewidget CVisualizeWidget

  1. Documentation
  2. Change Log

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
4 0
11 followers
1 927 downloads
Yii Version: 1.1
License: (not set)
Category: Others
Tags:
Developed by: _wk_
Created on: Jun 13, 2010
Last updated: 13 years ago

Downloads

show all