UNPKG

@progress/kendo-vue-charts

Version:
58 lines (57 loc) 1.29 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * Specifies the position of a note. * * @example * ```jsx * <template> * <div> * <Chart> * <ChartValueAxis> * <ChartValueAxisItem :notes="valueNotes" /> * </ChartValueAxis> * </Chart> * </div> * </template> * * <script> * import { * Chart, * ChartValueAxis, * ChartValueAxisItem, * } from '@progress/kendo-vue-charts'; * * export default { * components: { * Chart, * ChartValueAxis, * ChartValueAxisItem, * }, * data: function () { * return { * valueNotes: { * data: [ * { * value: 4, * text: 'Max', * }, * { * value: 1, * text: 'Min', * }, * ], * position: 'left', * }, * }; * }, * }; * </script> * ``` */ export type NotePosition = 'top' | 'bottom' | 'left' | 'right';