UNPKG

@progress/kendo-react-charts

Version:

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

51 lines (50 loc) 1.33 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { Chart } from '../Chart.js'; import { drawing, geometry } from '@progress/kendo-drawing'; /** * The context for the visual function of the axis label. */ export interface AxisLabelVisualArgs { /** * A function that can be used to get the default visual. */ createVisual: () => drawing.Element; /** * The default culture (if set) of the label. */ culture: string; /** * If a field is specified, represents the data item. */ dataItem?: any; /** * The default format of the label. */ format: string; /** * The label options. */ options: any; /** * The rectangle that defines the normal position of the visual. */ rect: geometry.Rect; /** * The instance of the Chart component. */ sender: Chart; /** * The text of the label. */ text: string; /** * The value of the label. */ value: any; }