@progress/kendo-react-charts
Version:
React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package
53 lines (52 loc) • 1.85 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.js';
import { YAxisNotesIcon } from './notes.icon.interface.js';
import { YAxisNotesLabel } from './notes.label.interface.js';
/**
* @hidden
*/
export interface YAxisNotes {
/**
* The items of the notes.
*/
data?: any[];
/**
* The line of the notes.
*/
line?: NoteLine;
/**
* The position of the Y-axis notes.
*
* 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;
/**
* A function for creating custom visuals for the notes.
*
* The available argument fields are:
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/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?: YAxisNotesIcon;
/**
* The label of the notes.
*/
label?: YAxisNotesLabel;
}