UNPKG

reaviz

Version:

Data Visualization using React

45 lines (43 loc) 1.31 kB
import { FC, ReactElement } from 'react'; import { ChartInternalShallowDataShape } from '../../common/data'; import { RadialScatterPoint, RadialScatterPointProps } from './RadialScatterPoint'; import { RadialValueMarker, RadialValueMarkerProps } from '../../common'; export interface RadialScatterSeriesProps { /** * Point that is rendered. */ point: ReactElement<RadialScatterPointProps, typeof RadialScatterPoint>; /** * D3 scale for X Axis. Set internally by `RadialScatterPlot`. */ xScale: any; /** * D3 scale for Y Axis. Set internally by `RadialScatterPlot`. */ yScale: any; /** * Parsed data shape. Set internally by `RadialScatterPlot`. */ data: ChartInternalShallowDataShape[]; /** * Id set internally by `RadialScatterPlot`. */ id: string; /** * Whether to animate the enter/update/exit. */ animated: boolean; /** * Active element ids to highlight. */ activeIds?: string[]; /** * When to show the point. */ show: boolean; /** * Value markers line for the chart. */ valueMarkers: ReactElement<RadialValueMarkerProps, typeof RadialValueMarker>[] | null; } export declare const RadialScatterSeries: FC<Partial<RadialScatterSeriesProps>>;