@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.
39 lines (38 loc) • 1.41 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The position of the axis labels.
*
* The possible values are:
* - `"start"`—The labels are positioned at the start of the axis.
* - `"end"`—The labels are positioned at the end of the axis.
* - `"onAxis"`—The labels are positioned on the axis.
* - `""`—The labels are positioned based on the axis type.
*
* @example
* ```ts
* import { Component } from '@angular/core';
* import { AxisLabelsPosition } from '@progress/kendo-angular-charts';
*
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-chart>
* <kendo-chart-category-axis>
* <kendo-chart-category-axis-item>
* <kendo-chart-category-axis-item-labels [position]="position">
* </kendo-chart-category-axis-item-labels>
* </kendo-chart-category-axis-item>
* </kendo-chart-category-axis>
* </kendo-chart>
* `
* })
* class AppComponent {
* public position: AxisLabelsPosition = "end";
* }
*
* ```
*/
export type AxisLabelsPosition = 'start' | 'end' | 'onAxis' | '';