Class WsChart
WsChart Is class for drawing animated and interactive charts. It uses Chart.js in the background.
Var:
integer $width Chart width
Var: integer $height Chart height
Var: array $options Global Chart.js options
Var: array $attributes HTML Canvas attributes
Located at WsChart.class.php
Var: integer $height Chart height
Var: array $options Global Chart.js options
Var: array $attributes HTML Canvas attributes
Located at WsChart.class.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
protected
array
|
$_labels
$_labels Chart labels |
#
array()
|
protected
array
|
$_datasets
$_datasets Chart datasets |
#
array()
|
protected
array
|
$_options
$_options Global Chart.js options |
#
array()
|
protected
array
|
$_attributes
$_attributes HTML canvas attributes |
#
array()
|
protected
string
|
$_id
$_id ID of canvas where chart will be drawn |
#
''
|
protected
string
|
$_chart
$_chart Chart object |
#
''
|
protected
integer
|
$_width
$_width Chart width |
|
protected
integer
|
$_height
$_height Chart height |
|
protected
string
|
$_type
_type Chart type |
#
'Line'
|