reaviz
Version:
Data Visualization using React
48 lines (46 loc) • 1.19 kB
TypeScript
import { ReactElement, FC } from 'react';
import { RadialScatterPoint, RadialScatterPointProps } from '../../RadialScatterPlot';
import { ChartInternalShallowDataShape } from '../../common/data';
export interface RadialPointSeriesProps {
/**
* Whether the points are animated or not.
*/
animated: boolean;
/**
* Color scheme.
*/
color: any;
/**
* Index of the area in the series. Set internally by `RadialAreaSeries`.
*/
index: number;
/**
* Active values set by parent.
*/
activeValues?: any;
/**
* Parsed data object.
*/
data: ChartInternalShallowDataShape[];
/**
* D3 X-Scale.
*/
yScale: any;
/**
* D3 Y-Scale.
*/
xScale: any;
/**
* When to show the point.
*/
show: boolean | 'hover' | 'first' | 'last';
/**
* Point react component.
*/
point: ReactElement<RadialScatterPointProps, typeof RadialScatterPoint>;
}
export declare const RadialPointSeries: FC<Partial<RadialPointSeriesProps>>;
export declare const RADIAL_POINT_SERIES_DEFAULT_PROPS: {
show: string;
point: import("react/jsx-runtime").JSX.Element;
};