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}
파일 보기
프로젝트 열기: 2amigos/yiiwheels
공개 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
init ( ) |
Widget's initialization method |
|
run ( ) |
Renders the widget. |
|
보호된 메소드들
메소드 상세
Widget's initialization method
registerClientScript()
보호된 메소드
Publishes and registers the necessary script files.
프로퍼티 상세
public array $htmlOptions |
리턴 |
array |
|
$pluginOptions 공개적으로 프로퍼티
public array $pluginOptions |
리턴 |
array |
|