ChartArea
class ChartArea extends JsonConfig (View source)
ChartArea ConfigObject
An object containing all the values for the chartArea which can be passed into the chart's options.
Constants
TYPE |
Type of JsonConfig object
|
Methods
Builds the ChartArea object when passed an array of configuration options.
Shortcut method to set the value of an option and return $this.
Parses the config array by passing the values through each method to check validity against if the option exists.
Details
at line 52
__construct(
array $config = array())
Builds the ChartArea object when passed an array of configuration options.
in
JsonConfig at line 64
mixed
__get(
string $option)
Get the value of a set option via magic method.
in
JsonConfig at line 75
Options
getOptions()
Gets the Options object for the JsonConfig
in
JsonConfig at line 90
JsonConfig
setOption(
string $option,
mixed $value)
Shortcut method to set the value of an option and return $this.
In order to maintain backwards compatibility, ConfigObjects will be unwrapped.
in
JsonConfig at line 106
setOptions(
array $config)
Parses the config array by passing the values through each method to check validity against if the option exists.
in
JsonConfig at line 275
array
jsonSerialize()
Custom serialization of the JsonConfig object.
at line 66
ChartArea
left(
int|string $left)
Sets the left padding of the chart in the container.
at line 78
ChartArea
top(
int|string $top)
Sets the top padding of the chart in the container.
at line 90
ChartArea
width(
int|string $width)
Sets the width of the chart in the container.
at line 102
ChartArea
height(
int|string $height)
Sets the height of the chart in the container.