UNPKG

@progress/kendo-react-charts

Version:

React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package

32 lines (31 loc) 882 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * The position of a note label. * * @example * ```jsx * import { * Chart, * ChartValueAxis, * ChartValueAxisItem * } from '@progress/kendo-react-charts'; * * const data = [{value: 1, label: { text: 'Foo' }}]; * const position = "outside"; * * const ChartContainer = () => ( * <Chart> * <ChartValueAxis> * <ChartValueAxisItem notes={{ data, label: { position } }} /> * </ChartValueAxis> * </Chart> * ); * ``` */ export type NoteLabelPosition = 'inside' | 'outside';