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
파일 보기 프로젝트 열기: 2amigos/yiiwheels

공개 프로퍼티들

프로퍼티 타입 설명
$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