/*! * * Wijmo Library 5.20251.40 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.react.chart} * Contains React components for the wijmo.chart module. */ /** * */ export declare var ___keepComment: any; import { ControlBaseEvents, ControlBaseInputs, WjRef, BaseInputs, WjForwardRefExoticComponent } from 'wijmo/wijmo.react.base'; import * as wjcCore from 'wijmo/wijmo'; import * as wjcChart from 'wijmo/wijmo.chart'; export declare type FlexChartBaseInputs = ControlBaseInputs & { footer?: string; footerStyle?: any; header?: string; headerStyle?: any; itemFormatter?: Function; itemsSource?: any[] | wjcCore.ICollectionView; legend?: Partial; options?: any; palette?: string[]; plotMargin?: any; selectionMode?: wjcChart.SelectionMode | string; }; export declare type FlexChartBaseEvents = ControlBaseEvents & { itemsSourceChanged?: wjcCore.IEventHandler; itemsSourceChanging?: wjcCore.IEventHandler; rendered?: wjcCore.IEventHandler; rendering?: wjcCore.IEventHandler; selectionChanged?: wjcCore.IEventHandler; }; export declare const FlexChartBaseMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartCoreInputs = FlexChartBaseInputs & { axes?: any[]; axisX?: Partial; axisY?: Partial; binding?: string; bindingX?: string; dataLabel?: wjcChart.DataLabel; interpolateNulls?: boolean; legendToggle?: boolean; plotAreas?: any[]; renderEngine?: wjcChart.IRenderEngine; selection?: wjcChart.SeriesBase; series?: any[]; symbolSize?: number; tooltip?: Partial; }; export declare type FlexChartCoreEvents = FlexChartBaseEvents & { seriesVisibilityChanged?: wjcCore.IEventHandler; }; export declare const FlexChartCoreMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartInputs = FlexChartCoreInputs & { chartType?: wjcChart.ChartType | string; rotated?: boolean; stacking?: wjcChart.Stacking | string; tooltipContent?: any; labelContent?: any; }; export declare type FlexChartEvents = FlexChartCoreEvents & {}; export declare const FlexChartMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartProps = FlexChartInputs & FlexChartEvents; export declare type FlexChartRef = WjRef; /** * React component for the {@link wijmo.chart.FlexChart} control. * * The flex-chart component may contain * the following child components: * {@link wijmo.react.chart.analytics.FlexChartTrendLine} * , {@link wijmo.react.chart.analytics.FlexChartMovingAverage} * , {@link wijmo.react.chart.analytics.FlexChartYFunctionSeries} * , {@link wijmo.react.chart.analytics.FlexChartParametricFunctionSeries} * , {@link wijmo.react.chart.analytics.FlexChartWaterfall} * , {@link wijmo.react.chart.analytics.FlexChartBoxWhisker} * , {@link wijmo.react.chart.analytics.FlexChartErrorBar} * , {@link wijmo.react.chart.analytics.FlexChartBreakEven} * , {@link wijmo.react.chart.animation.FlexChartAnimation} * , {@link wijmo.react.chart.annotation.FlexChartAnnotationLayer} * , {@link wijmo.react.chart.interaction.FlexChartRangeSelector} * , {@link wijmo.react.chart.interaction.FlexChartGestures} * , {@link wijmo.react.chart.FlexChartAxis} * , {@link wijmo.react.chart.FlexChartLegend} * , {@link wijmo.react.chart.FlexChartDataLabel} * , {@link wijmo.react.chart.FlexChartSeries} * , {@link wijmo.react.chart.FlexChartLineMarker} * and {@link wijmo.react.chart.FlexChartPlotArea}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.FlexChart} control it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. * * The example below shows how to instantiate and initialize a * {@link wijmo.chart.FlexChart} control in JSX: * *
<Wj.FlexChart
 *   itemsSource={ this.state.data }
 *   bindingX="name"
 *   header={ this.state.header }
 *   footer={ this.state.footer }
 *   axisX={​{ title: this.state.titleX }}
 *   axisY={​{ title: this.state.titleY }}
 *   legend={​{ position: this.state.legendPosition }}
 *   series={[
 *       { name: 'Sales', binding: 'sales' },
 *       { name: 'Expenses', binding: 'expenses' },
 *       { name: 'Downloads', binding: 'downloads', chartType: 'LineSymbols' }
 *   ]} />
* * The code sets the itemsSource property to a collection that contains * the data to chart and the bindingX property to specify the name of the * data property to use for the chart's X values. * * It sets the header and footer properties to specify the * chart titles, and customizes the chart's axes and legend. * * Finally, it sets the series property to an array that specifies the * data items that the chart should display. */ export declare const FlexChart: WjForwardRefExoticComponent; export declare type FlexPieInputs = FlexChartBaseInputs & { binding?: string; bindingName?: string; chartsPerLine?: number; dataLabel?: Partial; innerRadius?: number; innerText?: any; innerTextStyle?: any; isAnimated?: boolean; offset?: number; reversed?: boolean; selectedIndex?: number; selectedItemOffset?: number; selectedItemPosition?: wjcChart.Position | string; startAngle?: number; titles?: string[]; tooltip?: Partial; }; export declare type FlexPieEvents = FlexChartBaseEvents & {}; export declare const FlexPieMeta: { inputs: string[]; events: string[]; }; export declare type FlexPieProps = FlexPieInputs & FlexPieEvents; export declare type FlexPieRef = WjRef; /** * React component for the {@link wijmo.chart.FlexPie} control. * * The flex-pie component may contain * the following child components: * {@link wijmo.react.chart.animation.FlexChartAnimation} * , {@link wijmo.react.chart.FlexChartLegend} * and {@link wijmo.react.chart.FlexPieDataLabel}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.FlexPie} control it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexPie: WjForwardRefExoticComponent; export declare type FlexChartAxisInputs = BaseInputs & { axisLine?: boolean; binding?: string; format?: string; groupsOptions?: wjcChart.IAxisGroupsOptions; itemFormatter?: Function; itemsSource?: any; labelAlign?: string; labelAngle?: number; labelMax?: boolean; labelMin?: boolean; labelPadding?: number; labels?: boolean; logBase?: number; majorGrid?: boolean; majorTickMarks?: wjcChart.TickMark | string; majorUnit?: number; max?: any; min?: any; minorGrid?: boolean; minorTickMarks?: wjcChart.TickMark | string; minorUnit?: number; name?: string; origin?: number; overlappingLabels?: wjcChart.OverlappingLabels | string; plotArea?: wjcChart.PlotArea; position?: wjcChart.Position | string; reversed?: boolean; title?: string; wjProperty?: string; }; export declare type FlexChartAxisEvents = { rangeChanged?: wjcCore.IEventHandler; }; export declare const FlexChartAxisMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartAxisProps = FlexChartAxisInputs & FlexChartAxisEvents; export declare type FlexChartAxisRef = WjRef; /** * React component for the {@link wijmo.chart.Axis} class. * * The flex-chart-axis component should be contained in * one of the following components: * {@link wijmo.react.chart.FlexChart} * , {@link wijmo.react.chart.FlexChartSeries} * , {@link wijmo.react.chart.finance.FinancialChart} * or {@link wijmo.react.chart.finance.FinancialChartSeries}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.Axis} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartAxis: WjForwardRefExoticComponent; export declare type FlexChartLegendInputs = BaseInputs & { maxSize?: number | string; orientation?: wjcChart.Orientation | string; position?: wjcChart.Position | string; reverse?: boolean; scrollbar?: boolean; title?: string; titleAlign?: string; isVertical?: boolean; }; export declare type FlexChartLegendEvents = {}; export declare const FlexChartLegendMeta: { inputs: string[]; events: any[]; }; export declare type FlexChartLegendProps = FlexChartLegendInputs & FlexChartLegendEvents; export declare type FlexChartLegendRef = WjRef; /** * React component for the {@link wijmo.chart.Legend} class. * * The flex-chart-legend component should be contained in * one of the following components: * {@link wijmo.react.chart.FlexChart} * , {@link wijmo.react.chart.FlexPie} * , {@link wijmo.react.chart.finance.FinancialChart} * , {@link wijmo.react.chart.radar.FlexRadar} * , {@link wijmo.react.chart.hierarchical.Sunburst} * or {@link wijmo.react.chart.map.FlexMap}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.Legend} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartLegend: WjForwardRefExoticComponent; export declare type DataLabelBaseInputs = BaseInputs & { border?: boolean; connectingLine?: boolean; content?: any; offset?: number; }; export declare type DataLabelBaseEvents = { rendering?: wjcCore.IEventHandler; }; export declare const DataLabelBaseMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartDataLabelInputs = DataLabelBaseInputs & { position?: wjcChart.LabelPosition | string; }; export declare type FlexChartDataLabelEvents = DataLabelBaseEvents & {}; export declare const FlexChartDataLabelMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartDataLabelProps = FlexChartDataLabelInputs & FlexChartDataLabelEvents; export declare type FlexChartDataLabelRef = WjRef; /** * React component for the {@link wijmo.chart.DataLabel} class. * * The flex-chart-data-label component should be contained in * a {@link wijmo.react.chart.FlexChart} component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.DataLabel} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartDataLabel: WjForwardRefExoticComponent; export declare type FlexPieDataLabelInputs = DataLabelBaseInputs & { position?: wjcChart.PieLabelPosition | string; }; export declare type FlexPieDataLabelEvents = DataLabelBaseEvents & {}; export declare const FlexPieDataLabelMeta: { inputs: string[]; events: string[]; }; export declare type FlexPieDataLabelProps = FlexPieDataLabelInputs & FlexPieDataLabelEvents; export declare type FlexPieDataLabelRef = WjRef; /** * React component for the {@link wijmo.chart.PieDataLabel} class. * * The flex-pie-data-label component should be contained in * a {@link wijmo.react.chart.FlexPie} component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.PieDataLabel} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexPieDataLabel: WjForwardRefExoticComponent; export declare type SeriesBaseInputs = BaseInputs & { altStyle?: any; axisX?: Partial; axisY?: Partial; binding?: string; bindingX?: string; cssClass?: string; interpolateNulls?: boolean; itemFormatter?: Function; itemsSource?: any[] | wjcCore.ICollectionView; name?: string; style?: any; symbolMarker?: wjcChart.Marker | string; symbolSize?: number; symbolStyle?: any; tooltipContent?: any; visibility?: wjcChart.SeriesVisibility | string; children?: any; }; export declare type SeriesBaseEvents = { rendered?: wjcCore.IEventHandler; rendering?: wjcCore.IEventHandler; }; export declare const SeriesBaseMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartSeriesInputs = SeriesBaseInputs & { chartType?: wjcChart.ChartType | string; }; export declare type FlexChartSeriesEvents = SeriesBaseEvents & {}; export declare const FlexChartSeriesMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartSeriesProps = FlexChartSeriesInputs & FlexChartSeriesEvents; export declare type FlexChartSeriesRef = WjRef; /** * React component for the {@link wijmo.chart.Series} class. * * The flex-chart-series component should be contained in * a {@link wijmo.react.chart.FlexChart} component. * * The flex-chart-series component may contain * a {@link wijmo.react.chart.FlexChartAxis} child component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.Series} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartSeries: WjForwardRefExoticComponent; export declare type FlexChartLineMarkerInputs = BaseInputs & { alignment?: wjcChart.LineMarkerAlignment | string; content?: Function; dragContent?: boolean; dragLines?: boolean; dragThreshold?: number; horizontalPosition?: number; interaction?: wjcChart.LineMarkerInteraction | string; isVisible?: boolean; lines?: wjcChart.LineMarkerLines | string; seriesIndex?: number; verticalPosition?: number; }; export declare type FlexChartLineMarkerEvents = { positionChanged?: wjcCore.IEventHandler; }; export declare const FlexChartLineMarkerMeta: { inputs: string[]; events: string[]; }; export declare type FlexChartLineMarkerProps = FlexChartLineMarkerInputs & FlexChartLineMarkerEvents; export declare type FlexChartLineMarkerRef = WjRef; /** * React component for the {@link wijmo.chart.LineMarker} class. * * The flex-chart-line-marker component should be contained in * one of the following components: * {@link wijmo.react.chart.FlexChart} * or {@link wijmo.react.chart.finance.FinancialChart}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.LineMarker} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartLineMarker: WjForwardRefExoticComponent; export declare type FlexChartDataPointInputs = BaseInputs & { x?: any; y?: any; wjProperty?: string; }; export declare type FlexChartDataPointEvents = {}; export declare const FlexChartDataPointMeta: { inputs: string[]; events: any[]; }; export declare type FlexChartDataPointProps = FlexChartDataPointInputs & FlexChartDataPointEvents; export declare type FlexChartDataPointRef = WjRef; /** * React component for the {@link wijmo.chart.DataPoint} class. * * The flex-chart-data-point component should be contained in * a {@link wijmo.react.chart.annotation.FlexChartAnnotation} component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.DataPoint} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartDataPoint: WjForwardRefExoticComponent; export declare type FlexChartPlotAreaInputs = BaseInputs & { column?: number; height?: any; name?: string; row?: number; style?: any; width?: any; }; export declare type FlexChartPlotAreaEvents = {}; export declare const FlexChartPlotAreaMeta: { inputs: string[]; events: any[]; }; export declare type FlexChartPlotAreaProps = FlexChartPlotAreaInputs & FlexChartPlotAreaEvents; export declare type FlexChartPlotAreaRef = WjRef; /** * React component for the {@link wijmo.chart.PlotArea} class. * * The flex-chart-plot-area component should be contained in * one of the following components: * {@link wijmo.react.chart.FlexChart} * or {@link wijmo.react.chart.finance.FinancialChart}. * * The component supports all properties and events of the pure JavaScript {@link wijmo.chart.PlotArea} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const FlexChartPlotArea: WjForwardRefExoticComponent;