SizeAxis
class SizeAxis extends ConfigObject (View source)
Properties
int | $maxSize | Maximum radius of the largest possible bubble, in pixels. | |
int | $maxValue | The size value to be mapped to $this->maxSize. | |
int | $minSize | Mininum radius of the smallest possible bubble, in pixels. | |
int | $minValue | The size value to be mapped to $this->minSize. |
Methods
Builds the configuration when passed an array of options.
Returns an array representation of the object.
Same as toArray, but without the class name as a key to being multi-dimension.
Set the size value (as appears in the chart data) to be mapped to $this->maxSize. Larger values will be cropped to this value.
Details
at line 64
mixed
__construct(
array $config = array())
Builds the configuration when passed an array of options.
All options can be set by either passing an array with associative values for option => value, or by chaining together the functions once an object has been created.
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 75
SizeAxis
maxSize(
int $maxSize)
Sets maximum radius of the largest possible bubble, in pixels
at line 96
SizeAxis
maxValue(
int $maxValue)
Set the size value (as appears in the chart data) to be mapped to $this->maxSize. Larger values will be cropped to this value.
at line 116
SizeAxis
minSize(
int $minSize)
Sets mininum radius of the smallest possible bubble, in pixels
at line 137
SizeAxis
minValue(
int $minValue)
Set the size value (as appears in the chart data) to be mapped to $this->minSize. Larger values will be cropped to this value.