UNPKG

@progress/kendo-react-charts

Version:

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

44 lines (43 loc) 2 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 { Group } from '@progress/kendo-drawing'; import { ChartAxisType, ChartPaneType } from './../common/api-types.js'; import { Charts } from './../common/charts.js'; /** * Returns the axis with the specified name. * * @param {Chart} chartComponent - The instance of the KendoReact Chart component. * @param {string} name - The axis name. * @returns {ChartAxis} - The axis with a corresponding name. */ declare const findAxisByName: (chartComponent: Charts, name: string) => ChartAxisType | undefined; /** * Returns the pane at the specified index. * * @param {Chart} chartComponent - The instance of the KendoReact Chart component. * @param {number} index - The pane index. * @returns {ChartPane} - The pane at the specified index. */ declare const findPaneByIndex: (chartComponent: Charts, index: number) => ChartPaneType | undefined; /** * Returns the pane with the specified name. * * @param {Chart} chartComponent - The instance of the KendoReact Chart component. * @param {string} name - The name of the pane. * @returns {ChartPane} - The pane with the provided name. */ declare const findPaneByName: (chartComponent: Charts, name: string) => ChartPaneType | undefined; /** * Exports a Chart component as a Drawing `Scene`. * * @param {Chart} chartComponent - The instance of the KendoReact Chart component. * @param {any} options - The parameters for the export operation. * @returns {Group} - The root Group of the scene. */ declare const exportVisual: (chartComponent: Charts, options?: any) => Group | undefined; export { findAxisByName, findPaneByIndex, findPaneByName, exportVisual };