reaviz
Version:
Data Visualization using React
57 lines (56 loc) • 1.5 kB
TypeScript
import { FC } from 'react';
import { ChartInternalShallowDataShape } from '../../common/data';
import { RadialInterpolationTypes } from '../../common/utils/interpolation';
export interface RadialLineProps {
/**
* Parsed data shape. Set internally by `RadialAreaChart`.
*/
data: ChartInternalShallowDataShape[];
/**
* Whether to animate the enter/update/exit. Set internally by `RadialAreaSeries`.
*
* @default true
*/
animated: boolean;
/**
* D3 scale for X Axis. Set internally by `RadialAreaChart`.
*/
xScale: any;
/**
* D3 scale for Y Axis. Set internally by `RadialAreaChart`.
*/
yScale: any;
/**
* Color for the area. Set internally by `RadialAreaSeries`.
*/
color: any;
/**
* Interpolation for the area. Set internally by `RadialAreaSeries`.
*/
interpolation: RadialInterpolationTypes;
/**
* Index of the area in the series. Set internally by `RadialAreaSeries`.
*/
index: number;
/**
* Stroke width of the line.
*
* @default 2
*/
strokeWidth: number;
/**
* CSS classes to apply.
*/
className?: string;
/**
* Internal property to identify if there is a area or not.
*/
hasArea: boolean;
/**
* Whether the curve should be closed. Set to true by deafult
*
* @default true
*/
isClosedCurve: boolean;
}
export declare const RadialLine: FC<Partial<RadialLineProps>>;