PHP Class TbPercentOfTypeGooglePieOperation

Displays a Google visualization pie chart based on the percentage count of type.
Inheritance: extends TbPercentOfTypeOperation
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$chartCssClass string the class name of the layer holding the chart
$chartOptions array The options

Protected Properties

Property Type Description
$data array the configuration data of the chart

Public Methods

Method Description
displaySummary ( ) : mixed | void
registerClientScript ( ) Registers required scripts

Method Details

displaySummary() public method

See also: TbOperation
public displaySummary ( ) : mixed | void
return mixed | void

registerClientScript() public method

Registers required scripts

Property Details

$chartCssClass public property

the class name of the layer holding the chart
public string $chartCssClass
return string

$chartOptions public property

The options
See also: https://google-developers.appspot.com/chart/interactive/docs/gallery/piechart
public array $chartOptions
return array

$data protected property

the configuration data of the chart
protected array $data
return array