\Kendo\Dataviz\UI\ChartYAxisItemLabelsRotation
A PHP class representing the rotation setting of ChartYAxisItemLabels.
Methods
align
The alignment of the rotated labels relative to the slot center. The supported values are "end" and "center". By default the closest end of the label will be aligned to the center. If set to "center", the center of the rotated label will be aligned instead.
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsRotation
Parameters
$value string
Example
<?php
$rotation = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsRotation();
$rotation->align('value');
?>
angle
The rotation angle of the labels. By default the labels are not rotated.
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsRotation
Parameters
$value float
Example
<?php
$rotation = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsRotation();
$rotation->angle(1);
?>