/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { WindowProps } from '@progress/kendo-react-dialogs'; import { ExportEvent, ExportOptions } from './export.js'; import { ChartWizardDefaultState, ChartWizardDataRow, ChartWizardState } from '@progress/kendo-charts'; /** * The props of the KendoReact ChartWizard component. */ export interface ChartWizardProps { /** * Specifies the data you want to display in the ChartWizard component. */ data?: ChartWizardDataRow[]; /** * Fires when you close the ChartWizard component. */ onClose?: () => void; /** * Fires when the Chart exports. You can prevent this action. */ onExport?: (event: ExportEvent) => void; /** * Sets the export options for the ChartWizard component. */ exportOptions?: ExportOptions; /** * Sets the default state of the ChartWizard component. */ defaultState?: ChartWizardDefaultState; /** * Sets the component that renders the ChartWizard window. */ window?: React.ComponentType; /** * Fires when the ChartWizard component state changes. */ onStateChange?: (state: ChartWizardState) => void; /** * Controls the state of the ChartWizard component. */ state?: ChartWizardState; }