UNPKG

@progress/kendo-react-charts

Version:

React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package

27 lines (26 loc) 1.08 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * The rotation configuration for the axis labels. */ export interface LabelRotation { /** * The alignment of the rotated labels relative to the slot center. * * The supported values are: * * `"end"` * * `"center"` * * By default, the Charts align the closest end of the label to the center. If set to `"center"`, the center of the rotated label will be aligned instead. */ align?: 'end' | 'center'; /** * The rotation angle of the labels. By default, the labels are not rotated. Can be set to `"auto"`. In this case, the labels will be rotated only if the slot size is not sufficient for the entire labels. */ angle?: number | 'auto'; }