Chart axis class.
More...
|
const | POS_BOTTOM = 'bottom' |
| Bottom axis position.
|
|
const | POS_DEFAULT = null |
| Default axis position.
|
|
const | POS_LEFT = 'left' |
| Left axis position.
|
|
const | POS_RIGHT = 'right' |
| Right axis position.
|
|
const | POS_TOP = 'top' |
| Top axis position.
|
|
|
string | $label = null |
| The axis label.
|
|
string[] | $labels = null |
| The axis labels, tick values.
|
|
float | $max = null |
| The maximum tick value.
|
|
float | $min = null |
| The minimum tick value.
|
|
string | $position = self::POS_DEFAULT |
| The axis position.
|
|
float | $stepsize = null |
| The stepsize between ticks.
|
|
Chart axis class.
- Copyright
- 2016 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core\chart_axis::__construct |
( |
| ) |
|
Constructor.
Must not take any argument.
◆ get_label()
core\chart_axis::get_label |
( |
| ) |
|
Get the label.
- Return values
-
◆ get_labels()
core\chart_axis::get_labels |
( |
| ) |
|
Get the labels.
- Return values
-
◆ get_max()
core\chart_axis::get_max |
( |
| ) |
|
Get the max value.
- Return values
-
◆ get_min()
core\chart_axis::get_min |
( |
| ) |
|
Get the min value.
- Return values
-
◆ get_position()
core\chart_axis::get_position |
( |
| ) |
|
Get the axis position.
- Return values
-
◆ get_stepsize()
core\chart_axis::get_stepsize |
( |
| ) |
|
Get the step size.
- Return values
-
◆ jsonSerialize()
core\chart_axis::jsonSerialize |
( |
| ) |
|
Serialize the object.
- Return values
-
◆ set_label()
core\chart_axis::set_label |
( |
| $label | ) |
|
Set the label.
- Parameters
-
◆ set_labels()
core\chart_axis::set_labels |
( |
| $labels | ) |
|
Set the labels.
- Parameters
-
string[] | $labels | The labels. |
◆ set_max()
core\chart_axis::set_max |
( |
| $max | ) |
|
Set the max value.
- Parameters
-
◆ set_min()
core\chart_axis::set_min |
( |
| $min | ) |
|
Set the min value.
- Parameters
-
◆ set_position()
core\chart_axis::set_position |
( |
| $position | ) |
|
Set the position.
- Parameters
-
string | $position | Use constant self\POS_*. |
◆ set_stepsize()
core\chart_axis::set_stepsize |
( |
| $stepsize | ) |
|
Set the step size.
- Parameters
-
float | $stepsize | The step size. |
The documentation for this class was generated from the following file:
- lib/classes/chart_axis.php