PHP Class WhVisualizationChart

Author: Antonio Ramirez ([email protected])
Inheritance: extends CWidget
Exibir arquivo Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$containerId string the container Id to render the visualization to
$data array the data to configure visualization
$htmlOptions array
$options array additional configuration options
$visualization string the type of visualization -ie PieChart

Public Methods

Method Description
registerClientScript ( ) Registers required scripts
run ( ) Widget's run method

Method Details

registerClientScript() public method

Registers required scripts

run() public method

Widget's run method
public run ( )

Property Details

$containerId public_oe property

the container Id to render the visualization to
public string $containerId
return string

$data public_oe property

the data to configure visualization
See also: https://google-developers.appspot.com/chart/interactive/docs/datatables_dataviews#arraytodatatable
public array $data
return array

$htmlOptions public_oe property

public array $htmlOptions
return array

$options public_oe property

additional configuration options
See also: https://google-developers.appspot.com/chart/interactive/docs/customizing_charts
public array $options
return array

$visualization public_oe property

the type of visualization -ie PieChart
See also: https://google-developers.appspot.com/chart/interactive/docs/gallery
public string $visualization
return string