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.

60 lines (59 loc) 2.62 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { drawing } from '@progress/kendo-drawing'; import { ConfigurationService } from '../../common/configuration.service'; import { AxisNoteVisualArgs, NoteLine, NotePosition } from '../../common/property-types'; import { YAxisNotes, YAxisNotesIcon, YAxisNotesLabel } from '../../common/property-types'; import { SettingsComponent } from '../../common/settings.component'; import * as i0 from "@angular/core"; /** * Represents the configuration of the Y-axis notes * ([see example]({% slug api_charts_yaxiscomponent %})). * * @example * ```html * <kendo-chart> * <kendo-chart-y-axis> * <kendo-chart-y-axis-item> * <kendo-chart-y-axis-item-notes [visible]="true" position="top"> * </kendo-chart-y-axis-item-notes> * </kendo-chart-y-axis-item> * </kendo-chart-y-axis> * </kendo-chart> * ``` * * @remarks * Supported children components are: {@link YAxisNotesIconComponent} and {@link YAxisNotesLabelComponent}. */ export declare class YAxisNotesComponent extends SettingsComponent implements YAxisNotes { configurationService: ConfigurationService; /** * Specifies the data for the notes. */ data: any[]; /** * Specifies the line configuration of the notes. */ line: NoteLine; /** * Specifies the position of the notes. */ position: NotePosition; /** * Specifies a function that returns a custom visual for the notes. */ visual: (e: AxisNoteVisualArgs) => drawing.Element; /** * Specifies the icon configuration of the notes. */ icon: YAxisNotesIcon; /** * Specifies the label configuration of the notes. */ label: YAxisNotesLabel; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<YAxisNotesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<YAxisNotesComponent, "kendo-chart-y-axis-item-notes", never, { "data": { "alias": "data"; "required": false; }; "line": { "alias": "line"; "required": false; }; "position": { "alias": "position"; "required": false; }; "visual": { "alias": "visual"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>; }