@progress/kendo-vue-charts
Version:
53 lines (52 loc) • 1.84 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { drawing } from '@progress/kendo-drawing';
import { AxisNoteVisualArgs, NoteLine, NotePosition } from '../../common/property-types';
import { ValueAxisNotesIcon } from './notes.icon.interface';
import { ValueAxisNotesLabel } from './notes.label.interface';
/**
* @hidden
*/
export interface ValueAxisNotes {
/**
* The items of the notes.
*/
dataItems?: any[];
/**
* The line of the notes.
*/
line?: NoteLine;
/**
* The position of the value axis note.
*
* The supported values are:
* - `"top"`—The note is positioned on the top.
* - `"bottom"`—The note is positioned on the bottom.
* - `"left"`—The note is positioned on the left.
* - `"right"`—The note is positioned on the right.
*/
position?: NotePosition | string;
/**
* A function for creating custom visuals for the notes.
*
* The available argument fields are:
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines the note target rect.
* - `options`—The note options.
* - `createVisual`—A function that can be used to get the default visual.
* - `value`—The note value.
*/
visual?: (e: AxisNoteVisualArgs) => drawing.Element;
/**
* The icon of the notes.
*/
icon?: ValueAxisNotesIcon;
/**
* The label of the notes.
*/
label?: ValueAxisNotesLabel;
}