@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
24 lines (23 loc) • 1.06 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Specifies the rotation configuration for the axis labels.
*/
export interface LabelRotation {
/**
* Specifies the alignment of the rotated labels relative to the slot center.
* Supports the values `"end"` and `"center"`.
* By default, Charts align the closest end of the label to the center.
* If set to `"center"`, Charts align the center of the rotated label instead.
*/
align?: 'end' | 'center';
/**
* Specifies the rotation angle of the labels.
* By default, labels are not rotated.
* Can be set to `"auto"`. In this case, labels rotate
* only if the slot size is not sufficient for the entire labels.
*/
angle?: number | 'auto';
}