Yii 1.1: cvisualizewidget

CVisualizeWidget
11 followers

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

Total 2 comments

#6059 report it
compact_corpse at 2011/12/08 01:34pm
Agreed

Yes, very nice.

Although, the css that the widget uses changes global styles, such as font-size. Easy fix though.

#5411 report it
Tyr84 at 2011/10/10 08:06am
Nice

Very nice and easy to use! Tnx

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: Other Open Source License
  • Developed by: _wk_
  • Category: Others
  • Votes: +4
  • Downloaded: 1,660 times
  • Created on: Jun 13, 2010
  • Last updated: Jul 19, 2010