PHP Класс WhHighCharts

WhHighCharts 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('yiiwheels.widgets.WhHighCharts', 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}
Автор: Antonio Ramirez ([email protected])
Наследование: extends CWidget
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$htmlOptions array the HTML tag attributes
$pluginOptions array

Открытые методы

Метод Описание
init ( ) Widget's initialization method
run ( ) Renders the widget.

Защищенные методы

Метод Описание
registerClientScript ( ) Publishes and registers the necessary script files.

Описание методов

init() публичный Метод

Widget's initialization method
public init ( )

registerClientScript() защищенный Метод

Publishes and registers the necessary script files.
protected registerClientScript ( )

run() публичный Метод

Renders the widget.
public run ( )

Описание свойств

$htmlOptions публичное свойство

the HTML tag attributes
public array $htmlOptions
Результат array

$pluginOptions публичное свойство

См. также: http://api.highcharts.com/highcharts
public array $pluginOptions
Результат array