PHP 클래스 TbHighCharts
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('bootstrap.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}
파일 보기
프로젝트 열기: yinhe/yincart
공개 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
run ( ) |
Renders the widget. |
|
보호된 메소드들
메소드 상세
registerClientScript()
보호된 메소드
Publishes and registers the necessary script files.
프로퍼티 상세
public array $htmlOptions |
리턴 |
array |
|
the highcharts js configuration options
public array $options |
리턴 |
array |
|