\TbHighCharts

## TbHighCharts widget class

TbHighCharts is a layer of the amazing {@link http://www.highcharts.com/ Highcharts}

To use this widget, you may insert the following code in a view:

$this->widget('booster.widgets.TbHighCharts', array(
   'options'=>array(
      'title' => array('text' => 'Fruit Consumption'),
      'xAxis' => array(
         'categories' => array('Apples', 'Bananas', 'Oranges')
      ),
      'yAxis' => array(
         'title' => array('text' => 'Fruit eaten')
      ),
      'series' => array(
         array('name' => 'Jane', 'data' => array(1, 0, 4)),
         array('name' => 'John', 'data' => array(5, 7, 3))
      )
   )
));

To find out more about the possible {@link $options} attribute please refer to {@link http://www.hightcharts.com/ Highcharts site}

Summary

Methods
Properties
Constants
run()
$options
$htmlOptions
No constants found
registerClientScript()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$options

$options : array

Type

array — the highcharts js configuration options

$htmlOptions

$htmlOptions : array

Type

array — the HTML tag attributes

Methods

run()

run()

Renders the widget.

registerClientScript()

registerClientScript()

Publishes and registers the necessary script files.