ChartArea
class ChartArea extends ConfigObject (View source)
Properties
int|string | $left | How far to draw the chart from the left border. | |
int|string | $top | How far to draw the chart from the top border. | |
int|string | $width | Width of the chart. | |
int|string | $height | Height of the chart. |
Methods
Builds the chartArea object when passed an array of configuration options.
Returns an array representation of the object.
Same as toArray, but without the class name as a key to being multi-dimension.
Details
at line 59
mixed
__construct(
array $config = array())
Builds the chartArea object when passed an array of configuration options.
in
ConfigObject at line 93
array
toArray(
string $keyName = null)
Returns an array representation of the object.
If passed a label, then the array will be returned with the label as the key.
Called with no label returns an array with the classname as the key.
in
ConfigObject at line 115
array
getValues()
Same as toArray, but without the class name as a key to being multi-dimension.
at line 71
ChartArea
left(
int $left)
Sets the left padding of the chart in the container.
at line 93
ChartArea
top(
int $top)
Sets the top padding of the chart in the container.
at line 115
ChartArea
width(
int $width)
Sets the width of the chart in the container.
at line 137
ChartArea
height(
int $height)
Sets the height of the chart in the container.