19declare(strict_types=1);
28 protected string $type =
"linear";
32 protected ?
int $min =
null;
33 protected ?
int $max =
null;
100 $clone = clone $this;
116 $clone = clone $this;
withDisplayed(bool $displayed)
Should the axis be displayed? Default is true.
withBeginAtZero(bool $begin_at_zero)
If true, bars start always at x=0 (Horizontal Bar Chart) or y=0 (Vertical Bar Chart).
withPosition(string $position)
withMinValue(int $min)
Numeric label values below this number will not be shown on the x-axis (Horizontal Bar Chart) or y-ax...
withStepSize(float $step_size)
Step size between each label on the x-axis.
withMaxValue(int $max)
Numeric label values above this number will not be shown on the x-axis (Horizontal Bar Chart) or y-ax...