import { ReactElement, FC } from 'react'; import { PointSeries, PointSeriesProps } from './PointSeries'; import { Area, AreaProps } from './Area'; import { MarkLine, MarkLineProps } from '../../common/MarkLine'; import { ChartInternalDataShape } from '../../common/data'; import { TooltipArea, TooltipAreaProps } from '../../common/Tooltip'; import { Line, LineProps } from './Line'; import { InterpolationTypes } from '../../common/utils/interpolation'; import { ColorSchemeType } from '../../common/color'; import { LinearValueMarker, LinearValueMarkerProps } from '../../common'; export type AreaChartTypes = 'standard' | 'grouped' | 'stacked' | 'stackedNormalized'; export interface AreaSeriesProps { /** * Id set internally by `AreaChart`. */ id: string; /** * D3 scale for X Axis. Set internally by `AreaChart`. */ xScale: any; /** * D3 scale for Y Axis. Set internally by `AreaChart`. */ yScale: any; /** * Parsed data shape. Set internally by `AreaChart`. */ data: ChartInternalDataShape[]; /** * Height of the chart. Set internally by `AreaChart`. */ height: number; /** * Width of the chart. Set internally by `AreaChart`. */ width: number; /** * Whether to animate the enter/update/exit. */ animated: boolean; /** * Type of area chart to render. */ type: AreaChartTypes; /** * Interpolation type for the area/line. */ interpolation: InterpolationTypes; /** * Tooltip for the chart area. */ tooltip: ReactElement; /** * Markline for the chart. */ markLine: ReactElement | null; /** * Symbols used to show points. */ symbols: ReactElement | null; /** * Line that is rendered. */ line: ReactElement | null; /** * Area that is rendered. */ area: ReactElement | null; /** * Color scheme for the series. */ colorScheme: ColorSchemeType; /** * Whether the chart has been zoomed or not. Set internally by `AreaChart`. */ isZoomed: boolean; /** * Value markers line for the chart. */ valueMarkers: ReactElement[] | null; } export declare const AreaSeries: FC>; export declare const AREA_SERIES_DEFAULT_PROPS: Partial;