UNPKG

@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
/**----------------------------------------------------------------------------------------- * Copyright © 2024 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * The position of a note label. * * The possible values are: * - `"inside"`&mdash;The note label is positioned inside the axis. * - `"outside"`&mdash;The note label is positioned outside the axis. * * @example * ```ts * import { Component } from '@angular/core'; * import { NoteLabelPosition } from '@progress/kendo-angular-charts'; * * _@Component({ * selector: 'my-app', * template: ` * <kendo-chart> * <kendo-chart-value-axis> * <kendo-chart-value-axis-item> * <kendo-chart-value-axis-item-notes [data]="[{value: 1, label: { text: 'Foo' }}]"> * <kendo-chart-value-axis-item-notes-label [position]="position"> * </kendo-chart-value-axis-item-notes-label> * </kendo-chart-value-axis-item-notes> * </kendo-chart-value-axis-item> * </kendo-chart-value-axis> * </kendo-chart> * ` * }) * class AppComponent { * public position: NoteLabelPosition = "outside"; * } * * ``` */ export type NoteLabelPosition = 'inside' | 'outside';