\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsRotation
A PHP class representing the rotation setting of ChartCategoryAxisItemRangeLabels.
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\ChartCategoryAxisItemRangeLabelsRotation
Parameters
$value string
Example
<?php
$rotation = new \Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsRotation();
$rotation->align('value');
?>
angle
The rotation angle of the labels. By default the labels are not rotated. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsRotation
Parameters
$value float|string
Example - using float
<?php
$rotation = new \Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsRotation();
$rotation->angle(1);
?>
Example - using string
<?php
$rotation = new \Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsRotation();
$rotation->angle('value');
?>