@progress/kendo-vue-charts
Version:
61 lines (60 loc) • 1.37 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
*-------------------------------------------------------------------------------------------
*/
/**
* The position of a note label.
*
* @example
* ```jsx
* <template>
* <div>
* <Chart>
* <ChartValueAxis>
* <ChartValueAxisItem :max="5" :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',
* },
* ],
* label: {
* position: 'outside',
* content: (args) => args.dataItem.text,
* },
* },
* };
* },
* };
* </script>
* ```
*/
export type NoteLabelPosition = 'inside' | 'outside';