Inherits JsonSerializable.
| setRotated |
( |
|
$rotated = false | ) |
|
Switch x and y axis position
- Parameters
-
| setXCategories |
( |
|
$categories | ) |
|
Set category names on category axis
- Parameters
-
Set default extent for subchart and zoom
- Parameters
-
| setXLabelPosition |
( |
|
$const | ) |
|
Set label text position on x axis
- Parameters
-
| POSITION_H_INNER_RIGHT | POSITION_H_INNER_CENTER | POSITION_H_INNER_LEFT | POSITION_H_OUTER_RIGHT | POSITION_H_OUTER_CENTER | POSITION_H_OUTER_LEFT | POSITION_V_INNER_TOP | POSITION_V_INNER_MIDDLE | POSITION_V_INNER_BOTTOM | POSITION_V_OUTER_TOP | POSITION_V_OUTER_MIDDLE | POSITION_V_OUTER_BOTTOM | $const | setXLabelText() |
Set label text on x axis
- Parameters
-
| setXLocaltime |
( |
|
$localtime = true | ) |
|
Set how to treat the timezone of x values
- Parameters
-
Set max value of x axis range
- Parameters
-
Set min value of x axis range
- Parameters
-
Set left padding for x axis
- Parameters
-
| setXPaddingRight |
( |
|
$right | ) |
|
Set right padding for x axis
- Parameters
-
| setXTickCentered |
( |
|
$centered = false | ) |
|
Centerise ticks on category axis.
- Parameters
-
The number of x axis ticks to show
- Parameters
-
| setXTickCulling |
( |
|
$culling | ) |
|
Setting for culling ticks
- Parameters
-
| setXTickCullingMax |
( |
|
$max = 10 | ) |
|
The number of tick texts will be adjusted to less than this value
- Parameters
-
| setXTickFit |
( |
|
$fit = true | ) |
|
Fit x axis ticks
- Parameters
-
| setXTickFormat |
( |
|
$format | ) |
|
| setXTickOuter |
( |
|
$outer = true | ) |
|
Show x axis outer tick
- Parameters
-
| setXTickRotate |
( |
|
$angle = 0 | ) |
|
Rotate x axis tick text
- Parameters
-
| setXTickValues |
( |
|
$values | ) |
|
Set the x values of ticks manually
- Parameters
-
| setXType |
( |
|
$type = self::TYPE_INDEXED | ) |
|
Set type of x axis
- Parameters
-
| setXVisibility |
( |
|
$visibility = false | ) |
|
Show or hide x axis
- Parameters
-
Set center value of y2 axis
- Parameters
-
Set default range of y2 axis
- Parameters
-
| setY2Inner |
( |
|
$inner = false | ) |
|
Show y2 axis inside of the chart
- Parameters
-
| setY2Inverted |
( |
|
$inverted = false | ) |
|
Change the direction of y2 axis
- Parameters
-
| setY2LabelPosition |
( |
|
$const | ) |
|
Set label position on y2 axis
- Parameters
-
| POSITION_H_INNER_RIGHT | POSITION_H_INNER_CENTER | POSITION_H_INNER_LEFT | POSITION_H_OUTER_RIGHT | POSITION_H_OUTER_CENTER | POSITION_H_OUTER_LEFT | POSITION_V_INNER_TOP | POSITION_V_INNER_MIDDLE | POSITION_V_INNER_BOTTOM | POSITION_V_OUTER_TOP | POSITION_V_OUTER_MIDDLE | POSITION_V_OUTER_BOTTOM | $const | setY2LabelText() |
Set label on y2 axis
- Parameters
-
Set max value of y2 axis
- Parameters
-
Set min value of y2 axis
- Parameters
-
| setY2PaddingBottom |
( |
|
$bottom | ) |
|
Set the number of y2 axis ticks
- Parameters
-
| setY2TickFormat |
( |
|
$format | ) |
|
Show or hide outer tick
- Parameters
-
| setY2TickValues |
( |
|
$values | ) |
|
Set y2 axis tick values manually
- Parameters
-
| setY2Visibility |
( |
|
$visibility = false | ) |
|
Show or hide y2 axis
- Parameters
-
Set center value of y axis
- Parameters
-
Set default range of y axis
- Parameters
-
| setYInner |
( |
|
$inner = false | ) |
|
Show y axis inside of the chart
- Parameters
-
| setYInverted |
( |
|
$inverted = false | ) |
|
Change the direction of y axis
- Parameters
-
| setYLabelPosition |
( |
|
$const | ) |
|
Set label position on y axis
- Parameters
-
| POSITION_H_INNER_RIGHT | POSITION_H_INNER_CENTER | POSITION_H_INNER_LEFT | POSITION_H_OUTER_RIGHT | POSITION_H_OUTER_CENTER | POSITION_H_OUTER_LEFT | POSITION_V_INNER_TOP | POSITION_V_INNER_MIDDLE | POSITION_V_INNER_BOTTOM | POSITION_V_OUTER_TOP | POSITION_V_OUTER_MIDDLE | POSITION_V_OUTER_BOTTOM | $const | setYLabelText() |
Set label on y axis
- Parameters
-
Set max value of y axis
- Parameters
-
Set min value of y axis
- Parameters
-
| setYPaddingBottom |
( |
|
$bottom | ) |
|
Set the number of y axis ticks
- Parameters
-
- Parameters
-
| $fit | Undocumented. Is this really working? |
| setYTickFormat |
( |
|
$format | ) |
|
Show or hide outer tick
- Parameters
-
- Parameters
-
| $angle | Undocumented. Is this really working? |
| setYTickValues |
( |
|
$values | ) |
|
Set y axis tick values manually
- Parameters
-
| setYVisibility |
( |
|
$visibility = true | ) |
|
Show or hide y axis
- Parameters
-
| const POSITION_H_INNER_CENTER = 'inner-center' |
| const POSITION_H_INNER_LEFT = 'inner-left' |
| const POSITION_H_INNER_RIGHT = 'inner-right' |
| const POSITION_H_OUTER_CENTER = 'outer-center' |
| const POSITION_H_OUTER_LEFT = 'outer-left' |
| const POSITION_H_OUTER_RIGHT = 'outer-right' |
| const POSITION_V_INNER_BOTTOM = 'inner-bottom' |
| const POSITION_V_INNER_MIDDLE = 'inner-middle' |
| const POSITION_V_INNER_TOP = 'inner-top' |
| const POSITION_V_OUTER_BOTTOM = 'outer-bottom' |
| const POSITION_V_OUTER_MIDDLE = 'outer-middle' |
| const POSITION_V_OUTER_TOP = 'outer-top' |
| const TYPE_CATEGORY = 'category' |
| const TYPE_INDEXED = 'indexed' |
| const TYPE_TIMESERIES = 'timeseries' |