@types/recharts
- Version 1.8.29
- Published
- 42.3 kB
- 2 dependencies
- MIT license
Install
npm i @types/recharts
yarn add @types/recharts
pnpm add @types/recharts
Overview
TypeScript definitions for recharts
Index
Classes
Interfaces
Type Aliases
- AllowEscapeViewBox
- AnimationEasingType
- AreaChartProps
- AxisDomain
- AxisInterval
- BarChartProps
- BaseValueType
- BBoxUpdateCallback
- ComposedChartProps
- ContentRenderer
- DataKey
- DataPointFormatter
- HorizontalCoordinatesGenerator
- IconType
- IfOverflowType
- ItemSorter
- LabelFormatter
- LabelListProps
- LayoutType
- LegendType
- LegendValueFormatter
- LineChartProps
- LineType
- Percentage
- PickedCSSStyleDeclarationKeys
- PolarRadiusAxisDomain
- PositionType
- RechartsFunction
- ReferenceLinePosition
- ScaleCalculator
- ScaleType
- ScatterChartProps
- StackOffsetType
- TickFormatterFunction
- TickGeneratorFunction
- TooltipFormatter
- VerticalCoordinatesGenerator
Classes
class Area
class Area extends React.Component<AreaProps> {}
class AreaChart
class AreaChart extends React.Component<AreaChartProps> {}
class Bar
class Bar extends React.Component<BarProps> {}
class BarChart
class BarChart extends React.Component<BarChartProps> {}
class Brush
class Brush extends React.Component<BrushProps> {}
class CartesianAxis
class CartesianAxis extends React.Component<CartesianAxisProps> {}
class CartesianGrid
class CartesianGrid extends React.Component<CartesianGridProps> {}
class Cell
class Cell extends React.Component<CellProps> {}
class ComposedChart
class ComposedChart extends React.Component<ComposedChartProps> {}
class Cross
class Cross extends React.Component<CrossProps> {}
class Curve
class Curve extends React.Component<CurveProps> {}
class Customized
class Customized extends React.Component<CustomizedProps> {}
class Dot
class Dot extends React.Component<DotProps> {}
class ErrorBar
class ErrorBar extends React.Component<ErrorBarProps> {}
class Label
class Label extends React.Component<LabelProps> {}
class LabelList
class LabelList extends React.Component<LabelListProps> {}
class Layer
class Layer extends React.Component<LayerProps> {}
class Legend
class Legend extends React.Component<LegendProps, BoxSize> {}
class Line
class Line extends React.Component<LineProps> {}
class LineChart
class LineChart extends React.Component<LineChartProps> {}
class Pie
class Pie extends React.Component<PieProps> {}
class PieChart
class PieChart extends React.Component<PieChartProps> {}
class PolarAngleAxis
class PolarAngleAxis extends React.Component<PolarAngleAxisProps> {}
class PolarGrid
class PolarGrid extends React.Component<PolarGridProps> {}
class PolarRadiusAxis
class PolarRadiusAxis extends React.Component<PolarRadiusAxisProps> {}
class Polygon
class Polygon extends React.Component<PolygonProps> {}
class Radar
class Radar extends React.Component<RadarProps> {}
class RadarChart
class RadarChart extends React.Component<RadarChartProps> {}
class RadialBar
class RadialBar extends React.Component<RadialBarProps> {}
class RadialBarChart
class RadialBarChart extends React.Component<RadialBarChartProps> {}
class Rectangle
class Rectangle extends React.Component<RectangleProps> {}
class ReferenceArea
class ReferenceArea extends React.Component<ReferenceAreaProps> {}
class ReferenceDot
class ReferenceDot extends React.Component<ReferenceDotProps> {}
class ReferenceLine
class ReferenceLine extends React.Component<ReferenceLineProps> {}
class ResponsiveContainer
class ResponsiveContainer extends React.Component< ResponsiveContainerProps, ContainerSize> {}
class Sankey
class Sankey extends React.Component<SankeyProps, SankeyState> {}
class Scatter
class Scatter extends React.Component<ScatterProps> {}
class ScatterChart
class ScatterChart extends React.Component<ScatterChartProps> {}
class Sector
class Sector extends React.Component<SectorProps> {}
class Surface
class Surface extends React.Component<SurfaceProps> {}
class Symbols
class Symbols extends React.Component<SymbolsProps> {}
class Text
class Text extends React.Component<TextProps> {}
class Tooltip
class Tooltip extends React.Component<TooltipProps, BoxSize> {}
class Treemap
class Treemap extends React.Component<TreemapProps> {}
class XAxis
class XAxis extends React.Component<XAxisProps> {}
class YAxis
class YAxis extends React.Component<YAxisProps> {}
class ZAxis
class ZAxis extends React.Component<ZAxisProps> {}
Interfaces
interface Animatable
interface Animatable {}
property animationBegin
animationBegin?: number;
property animationDuration
animationDuration?: number;
property animationEasing
animationEasing?: AnimationEasingType;
property animationId
animationId?: number;
property isAnimationActive
isAnimationActive?: boolean;
property isUpdateAnimationActive
isUpdateAnimationActive?: boolean;
property onAnimationEnd
onAnimationEnd?: RechartsFunction;
property onAnimationStart
onAnimationStart?: RechartsFunction;
interface AreaProps
interface AreaProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeDot
activeDot?: boolean | object | React.ReactElement | ContentRenderer<any>;
property baseLine
baseLine?: number | readonly any[];
property className
className?: string;
property connectNulls
connectNulls?: boolean;
property dataKey
dataKey: DataKey;
property dot
dot?: | boolean | object | React.ReactElement | ContentRenderer<DotProps & { payload: any }>;
property hide
hide?: boolean;
property id
id?: string;
property isRange
isRange?: boolean;
property label
label?: boolean | object | ContentRenderer<any> | React.ReactElement;
property layout
layout?: LayoutType;
property legendType
legendType?: LegendType;
property name
name?: string | number;
property points
points?: readonly Point[];
property stackId
stackId?: string | number;
property type
type?: LineType;
property unit
unit?: string | number;
property xAxis
xAxis?: object;
property xAxisId
xAxisId?: string | number;
property yAxis
yAxis?: object;
property yAxisId
yAxisId?: string | number;
interface BarData
interface BarData {}
interface BarProps
interface BarProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property background
background?: boolean | React.ReactElement | ContentRenderer<any> | object;
property barSize
barSize?: number;
property children
children?: React.ReactNode;
property className
className?: string;
property data
data?: readonly BarData[];
property dataKey
dataKey: DataKey;
property fill
fill?: string;
property hide
hide?: boolean;
property id
id?: string;
property label
label?: | boolean | Label | LabelProps | React.FC<LabelProps> | React.ReactElement<LabelProps> | ContentRenderer<any>;
property layout
layout?: LayoutType;
property legendType
legendType?: LegendType;
property maxBarSize
maxBarSize?: number;
property minPointSize
minPointSize?: number;
property name
name?: string | number;
property radius
radius?: number | readonly number[];
property shape
shape?: React.ReactElement | ContentRenderer<RectangleProps>;
property stackId
stackId?: string | number;
property unit
unit?: string | number;
property xAxis
xAxis?: object;
property xAxisId
xAxisId?: string | number;
property yAxis
yAxis?: object;
property yAxisId
yAxisId?: string | number;
interface BoxSize
interface BoxSize {}
interface BrushProps
interface BrushProps {}
property children
children?: React.ReactNode;
property className
className?: string;
property data
data?: readonly any[];
property dataKey
dataKey?: DataKey;
property endIndex
endIndex?: number;
property fill
fill?: string;
property gap
gap?: number;
property height
height?: number;
property leaveTimeOut
leaveTimeOut?: number;
property onChange
onChange?: RechartsFunction;
property padding
padding?: Partial<Margin>;
property startIndex
startIndex?: number;
property stroke
stroke?: string;
property tickFormatter
tickFormatter?: TickFormatterFunction;
property travellerWidth
travellerWidth?: number;
property updateId
updateId?: string | number;
property width
width?: number;
property x
x?: number;
property y
y?: number;
interface CartesianAxisProps
interface CartesianAxisProps extends EventAttributes, Partial<PresentationAttributes> {}
property axisLine
axisLine?: boolean | object;
property className
className?: string;
property height
height?: number;
property interval
interval?: AxisInterval;
property minTickGap
minTickGap?: number;
property mirror
mirror?: boolean;
property orientation
orientation?: 'top' | 'bottom' | 'left' | 'right';
property stroke
stroke?: string;
property tick
tick?: boolean | ContentRenderer<any> | object | React.ReactElement;
property tickFormatter
tickFormatter?: TickFormatterFunction;
property tickLine
tickLine?: boolean | object;
property ticks
ticks?: readonly any[];
property ticksGenerator
ticksGenerator?: TickGeneratorFunction;
property tickSize
tickSize?: number;
property viewBox
viewBox?: ViewBox;
property width
width?: number;
property x
x?: number;
property y
y?: number;
interface CartesianGridProps
interface CartesianGridProps extends Partial<PresentationAttributes> {}
property chartHeight
chartHeight?: number;
property chartWidth
chartWidth?: number;
property height
height?: number;
property horizontal
horizontal?: | object | React.ReactElement | ContentRenderer<LineProps & CartesianGridProps> | boolean;
property horizontalCoordinatesGenerator
horizontalCoordinatesGenerator?: HorizontalCoordinatesGenerator;
property horizontalFill
horizontalFill?: readonly string[];
property horizontalPoints
horizontalPoints?: readonly number[];
property offset
offset?: ChartOffset;
property vertical
vertical?: | object | React.ReactElement | ContentRenderer<LineProps & CartesianGridProps> | boolean;
property verticalCoordinatesGenerator
verticalCoordinatesGenerator?: VerticalCoordinatesGenerator;
property verticalFill
verticalFill?: readonly string[];
property verticalPoints
verticalPoints?: readonly number[];
property width
width?: number;
property xAxis
xAxis?: XAxisProps;
property y
y?: number;
property yAxis
yAxis?: YAxisProps;
interface CategoricalChartWrapper
interface CategoricalChartWrapper<L = LayoutType> {}
property barCategoryGap
barCategoryGap?: number | string;
property barGap
barGap?: number | string;
property barSize
barSize?: number | string;
property baseValue
baseValue?: BaseValueType;
property children
children?: React.ReactNode | React.ReactNode[];
property className
className?: string;
property compact
compact?: boolean;
property data
data?: readonly object[];
property height
height?: number;
property layout
layout?: L;
property margin
margin?: Partial<Margin>;
property maxBarSize
maxBarSize?: number;
property onClick
onClick?: RechartsFunction;
property onMouseDown
onMouseDown?: RechartsFunction;
property onMouseEnter
onMouseEnter?: RechartsFunction;
property onMouseLeave
onMouseLeave?: RechartsFunction;
property onMouseMove
onMouseMove?: RechartsFunction;
property onMouseUp
onMouseUp?: RechartsFunction;
property reverseStackOrder
reverseStackOrder?: boolean;
property stackOffset
stackOffset?: StackOffsetType;
property style
style?: object;
property syncId
syncId?: string | number;
property throttleDelay
throttleDelay?: number;
property width
width?: number;
interface CellProps
interface CellProps extends Partial<PresentationAttributes> {}
property className
className?: string;
property onClick
onClick?: RechartsFunction;
property onMouseEnter
onMouseEnter?: RechartsFunction;
property onMouseLeave
onMouseLeave?: RechartsFunction;
interface ChartOffset
interface ChartOffset {}
interface ContainerSize
interface ContainerSize {}
property containerHeight
containerHeight: number;
property containerWidth
containerWidth: number;
interface Coordinate
interface Coordinate {}
interface CrossProps
interface CrossProps extends Partial<PresentationAttributes> {}
interface CurveProps
interface CurveProps extends EventAttributes, Partial<PresentationAttributes> {}
property baseLine
baseLine?: number | readonly any[];
property className
className?: string;
property connectNulls
connectNulls?: boolean;
property layout
layout?: LayoutType;
property path
path?: string;
property pathRef
pathRef?: React.Ref<any>;
property points
points?: readonly object[];
property type
type?: LineType;
interface CustomizedProps
interface CustomizedProps {}
property component
component: ContentRenderer<any> | React.ReactElement;
interface DotProps
interface DotProps extends EventAttributes {}
interface ErrorBarProps
interface ErrorBarProps {}
property data
data?: readonly any[];
property dataKey
dataKey: DataKey;
property dataPointFormatter
dataPointFormatter?: DataPointFormatter;
property layout
layout?: string;
property offset
offset?: number;
property stroke
stroke?: string;
property strokeWidth
strokeWidth?: number;
property width
width?: number;
property xAxis
xAxis?: object;
property yAxis
yAxis?: object;
interface EventAttributes
interface EventAttributes {}
property onClick
onClick?: RechartsFunction;
property onMouseDown
onMouseDown?: RechartsFunction;
property onMouseEnter
onMouseEnter?: RechartsFunction;
property onMouseLeave
onMouseLeave?: RechartsFunction;
property onMouseMove
onMouseMove?: RechartsFunction;
property onMouseOut
onMouseOut?: RechartsFunction;
property onMouseOver
onMouseOver?: RechartsFunction;
property onMouseUp
onMouseUp?: RechartsFunction;
property onTouchCancel
onTouchCancel?: RechartsFunction;
property onTouchEnd
onTouchEnd?: RechartsFunction;
property onTouchMove
onTouchMove?: RechartsFunction;
property onTouchStart
onTouchStart?: RechartsFunction;
interface LabelProps
interface LabelProps extends Partial<PresentationAttributes> {}
property angle
angle?: number;
property children
children?: React.ReactNode[] | React.ReactNode;
property className
className?: string;
property content
content?: React.ReactElement | ContentRenderer<any>;
property formatter
formatter?: LabelFormatter;
property offset
offset?: number;
property position
position?: PositionType;
property value
value?: number | string;
property viewBox
viewBox?: ViewBox | PolarViewBox;
interface LayerProps
interface LayerProps {}
interface LegendPayload
interface LegendPayload {}
interface LegendProps
interface LegendProps {}
property align
align?: 'left' | 'center' | 'right';
property chartHeight
chartHeight?: number;
property chartWidth
chartWidth?: number;
property content
content?: React.ReactElement | ContentRenderer<LegendProps>;
property formatter
formatter?: LegendValueFormatter;
property height
height?: number;
property iconSize
iconSize?: number;
property iconType
iconType?: IconType;
property layout
layout?: LayoutType;
property margin
margin?: Partial<Margin>;
property onBBoxUpdate
onBBoxUpdate?: BBoxUpdateCallback;
property onClick
onClick?: RechartsFunction;
property onMouseEnter
onMouseEnter?: RechartsFunction;
property onMouseLeave
onMouseLeave?: RechartsFunction;
property payload
payload?: readonly LegendPayload[];
property verticalAlign
verticalAlign?: 'top' | 'middle' | 'bottom';
property width
width?: number;
property wrapperStyle
wrapperStyle?: object;
interface LineProps
interface LineProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeDot
activeDot?: object | React.ReactElement | ContentRenderer<any> | boolean;
property className
className?: string;
property connectNulls
connectNulls?: boolean;
property data
data?: readonly object[];
property dataKey
dataKey: DataKey;
property dot
dot?: | object | React.ReactElement | ContentRenderer<DotProps & { payload: any }> | boolean;
property height
height?: number;
property hide
hide?: boolean;
property id
id?: string;
property label
label?: boolean | object | React.ReactElement | ContentRenderer<any>;
property layout
layout?: LayoutType;
property left
left?: number;
property legendType
legendType?: LegendType;
property name
name?: string | number;
property points
points?: readonly Point[];
property top
top?: number;
property type
type?: LineType;
property unit
unit?: string | number;
property width
width?: number;
property xAxis
xAxis?: object;
property xAxisId
xAxisId?: string | number;
property yAxis
yAxis?: object;
property yAxisId
yAxisId?: string | number;
interface Margin
interface Margin {}
interface PieChartProps
interface PieChartProps extends EventAttributes, CategoricalChartWrapper<'centric'> {}
property cx
cx?: number | string;
property cy
cy?: number | string;
property endAngle
endAngle?: number;
property innerRadius
innerRadius?: number | string;
property outerRadius
outerRadius?: number | string;
property startAngle
startAngle?: number;
interface PieLabelRenderProps
interface PieLabelRenderProps extends PieProps {}
property index
index?: number;
property name
name: string;
property percent
percent?: number;
property stroke
stroke: string;
property textAnchor
textAnchor: string;
property x
x: number;
property y
y: number;
index signature
[key: string]: any;
interface PieProps
interface PieProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeIndex
activeIndex?: number | readonly number[];
property activeShape
activeShape?: object | ContentRenderer<any> | React.ReactElement;
property blendStroke
blendStroke?: boolean;
property children
children?: React.ReactNode;
property className
className?: string;
property cornerRadius
cornerRadius?: number | string;
property cx
cx?: number | string;
property cy
cy?: number | string;
property data
data?: readonly object[];
property dataKey
dataKey: DataKey;
property endAngle
endAngle?: number;
property hide
hide?: boolean;
property innerRadius
innerRadius?: number | string;
property label
label?: | { offsetRadius: number; } | React.ReactElement | ContentRenderer<PieLabelRenderProps> | boolean;
property labelLine
labelLine?: | object | ContentRenderer<LineProps & any> | React.ReactElement | boolean;
property legendType
legendType?: LegendType;
property maxRadius
maxRadius?: number;
property midAngle
midAngle?: number;
property minAngle
minAngle?: number;
property nameKey
nameKey?: string | number | ((dataObject: any) => number);
property outerRadius
outerRadius?: number | string;
property paddingAngle
paddingAngle?: number;
property sectors
sectors?: readonly object[];
property startAngle
startAngle?: number;
property valueKey
valueKey?: string | number | ((dataObject: any) => number);
interface Point
interface Point {}
interface PolarAngleAxisProps
interface PolarAngleAxisProps extends EventAttributes, Partial<PresentationAttributes> {}
property allowDuplicatedCategory
allowDuplicatedCategory?: boolean;
property angleAxisId
angleAxisId?: string | number;
property axisLine
axisLine?: boolean | object;
property axisLineType
axisLineType?: 'polygon' | 'circle';
property cx
cx?: number;
property cy
cy?: number;
property dataKey
dataKey?: DataKey;
property hide
hide?: boolean;
property orientation
orientation?: 'inner' | 'outer';
property radius
radius?: Percentage | number;
property scale
scale?: ScaleType | RechartsFunction;
property stroke
stroke?: string;
property tick
tick?: boolean | ContentRenderer<any> | object | React.ReactElement;
property tickFormatter
tickFormatter?: TickFormatterFunction;
property tickLine
tickLine?: boolean | object;
property ticks
ticks?: readonly PolarAngleAxisTick[];
property type
type?: 'number' | 'category';
interface PolarAngleAxisTick
interface PolarAngleAxisTick {}
property coordinate
coordinate: number;
property value
value: any;
interface PolarGridProps
interface PolarGridProps extends Partial<PresentationAttributes> {}
property cx
cx?: number;
property cy
cy?: number;
property gridType
gridType?: 'polygon' | 'circle';
property innerRadius
innerRadius?: number;
property outerRadius
outerRadius?: number;
property polarAngles
polarAngles?: readonly number[];
property polarRadius
polarRadius?: readonly number[];
interface PolarRadiusAxisProps
interface PolarRadiusAxisProps extends EventAttributes, Partial<PresentationAttributes> {}
property allowDataOverflow
allowDataOverflow?: boolean;
property allowDuplicatedCategory
allowDuplicatedCategory?: boolean;
property angle
angle?: number;
property axisLine
axisLine?: boolean | object;
property cx
cx?: number;
property cy
cy?: number;
property domain
domain?: Readonly<[PolarRadiusAxisDomain, PolarRadiusAxisDomain]>;
property hide
hide?: boolean;
property orientation
orientation?: 'left' | 'right' | 'middle';
property radiusAxisId
radiusAxisId?: string | number;
property scale
scale?: ScaleType | RechartsFunction;
property stroke
stroke?: string;
property tick
tick?: boolean | object | React.ReactElement | ContentRenderer<any>;
property tickCount
tickCount?: number;
property tickFormatter
tickFormatter?: TickFormatterFunction;
property ticks
ticks?: readonly PolarRadiusAxisTick[];
property type
type?: 'number' | 'category';
interface PolarRadiusAxisTick
interface PolarRadiusAxisTick {}
property coordinate
coordinate: number;
property value
value: any;
interface PolarViewBox
interface PolarViewBox {}
property cx
cx?: number;
property cy
cy?: number;
property endAngle
endAngle?: number;
property innerRadius
innerRadius?: number;
property outerRadius
outerRadius?: number;
property startAngle
startAngle?: number;
interface PolygonPoint
interface PolygonPoint {}
interface PolygonProps
interface PolygonProps extends EventAttributes, Partial<PresentationAttributes> {}
interface PresentationAttributes
interface PresentationAttributes<X = number, Y = number> extends Pick<CSSStyleDeclaration, PickedCSSStyleDeclarationKeys> {}
property angle
angle: number;
property colorInterpolation
colorInterpolation: string;
property colorProfile
colorProfile: string;
property colorRendering
colorRendering: string;
property dx
dx: number;
property dy
dy: number;
property fill
fill: string;
property fillOpacity
fillOpacity: number | string;
property fontSize
fontSize: number | string;
property fontSizeAdjust
fontSizeAdjust: number | string;
property fontWeight
fontWeight: | 'normal' | 'bold' | 'bolder' | 'lighter' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 'inherit';
property height
height: number;
property imageRendering
imageRendering: 'auto' | 'optimizeSpeed' | 'optimizeQuality' | 'inherit';
property kerning
kerning: number | string;
property opacity
opacity: number | string;
property r
r: number;
property shapeRendering
shapeRendering: | 'auto' | 'optimizeSpeed' | 'crispEdges' | 'geometricPrecision' | 'inherit';
property stopOpacity
stopOpacity: number | string;
property stroke
stroke: number | string;
property strokeDashoffset
strokeDashoffset: number | string;
property strokeMiterlimit
strokeMiterlimit: number | string;
property strokeOpacity
strokeOpacity: number | string;
property strokeWidth
strokeWidth: number | string;
property style
style: object;
property textRendering
textRendering: | 'auto' | 'optimizeSpeed' | 'optimizeLegibility' | 'geometricPrecision' | 'inherit';
property width
width: number;
property wordSpacing
wordSpacing: number | string;
property x
x: X;
property y
y: Y;
interface RadarChartProps
interface RadarChartProps extends EventAttributes, CategoricalChartWrapper<'centric'> {}
property cx
cx?: number | string;
property cy
cy?: number | string;
property endAngle
endAngle?: number;
property innerRadius
innerRadius?: number | string;
property outerRadius
outerRadius?: number | string;
property startAngle
startAngle?: number;
interface RadarPoint
interface RadarPoint {}
interface RadarProps
interface RadarProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeDot
activeDot?: object | React.ReactElement | ContentRenderer<any> | boolean;
property className
className?: string;
property dataKey
dataKey: DataKey;
property dot
dot?: object | React.ReactElement | ContentRenderer<DotProps> | boolean;
property hide
hide?: boolean;
property label
label?: object | React.ReactElement | ContentRenderer<any> | boolean;
property legendType
legendType?: LegendType;
property name
name?: string;
property points
points?: readonly RadarPoint[];
property shape
shape?: React.ReactElement | ContentRenderer<RadarProps>;
interface RadialBarChartProps
interface RadialBarChartProps extends CategoricalChartWrapper<'radial'> {}
property cx
cx?: string | number;
property cy
cy?: string | number;
property endAngle
endAngle?: number;
property innerRadius
innerRadius?: string | number;
property outerRadius
outerRadius?: string | number;
property startAngle
startAngle?: number;
interface RadialBarData
interface RadialBarData {}
property cx
cx: number;
property cy
cy: number;
property innerRadius
innerRadius: number;
property outerRadius
outerRadius: number;
property value
value: any;
interface RadialBarProps
interface RadialBarProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeShape
activeShape?: object | ContentRenderer<any> | React.ReactElement;
property angleAxisId
angleAxisId?: string | number;
property background
background?: boolean | React.ReactElement | ContentRenderer<any> | object;
property className
className?: string;
property cornerRadius
cornerRadius?: number | string;
property data
data?: readonly RadialBarData[];
property dataKey
dataKey: DataKey;
property hide
hide?: boolean;
property label
label?: boolean | React.ReactElement | ContentRenderer<any> | object;
property legendType
legendType?: LegendType;
property maxBarSize
maxBarSize?: number;
property minPointSize
minPointSize?: number;
property radiusAxisId
radiusAxisId?: string | number;
property shape
shape?: ContentRenderer<any> | React.ReactElement;
interface RectangleProps
interface RectangleProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
interface ReferenceAreaProps
interface ReferenceAreaProps extends Partial<PresentationAttributes> {}
property alwaysShow
alwaysShow?: boolean;
property className
className?: number | string;
property ifOverflow
ifOverflow?: IfOverflowType;
property isFront
isFront?: boolean;
property label
label?: string | number | ContentRenderer<any> | React.ReactElement;
property shape
shape?: | ContentRenderer<ReferenceAreaProps & RectangleProps> | React.ReactElement;
property viewBox
viewBox?: ViewBox;
property x1
x1?: number | string;
property x2
x2?: number | string;
property xAxis
xAxis?: object;
property xAxisId
xAxisId?: string | number;
property y1
y1?: number | string;
property y2
y2?: number | string;
property yAxis
yAxis?: object;
property yAxisId
yAxisId?: string | number;
interface ReferenceDotAxisConfiguration
interface ReferenceDotAxisConfiguration {}
property scale
scale: ScaleCalculator;
interface ReferenceDotProps
interface ReferenceDotProps extends EventAttributes, Partial<PresentationAttributes<number | string, number | string>> {}
property alwaysShow
alwaysShow?: boolean;
property className
className?: number | string;
property ifOverflow
ifOverflow?: IfOverflowType;
property isFront
isFront?: boolean;
property label
label?: string | number | React.ReactElement | RechartsFunction;
property r
r?: number;
property shape
shape?: | ContentRenderer< EventAttributes & Partial< PresentationAttributes<number | string, number | string> > & { cx: number; cy: number } > | React.ReactElement;
property x
x?: number | string;
property xAxis
xAxis?: ReferenceDotAxisConfiguration;
property xAxisId
xAxisId?: string | number;
property y
y?: number | string;
property yAxis
yAxis?: ReferenceDotAxisConfiguration;
property yAxisId
yAxisId?: string | number;
interface ReferenceLineProps
interface ReferenceLineProps extends Partial<PresentationAttributes<number | string, number | string>> {}
property alwaysShow
alwaysShow?: boolean;
property className
className?: number | string;
property ifOverflow
ifOverflow?: IfOverflowType;
property isFront
isFront?: boolean;
property label
label?: string | number | ContentRenderer<any> | React.ReactElement;
property position
position?: ReferenceLinePosition;
property segment
segment?: Readonly<[SegmentItem, SegmentItem]>;
property shape
shape?: | ContentRenderer< EventAttributes & Partial< PresentationAttributes<number | string, number | string> > & { x1: number; y1: number; x2: number; y2: number; } > | React.ReactElement;
property viewBox
viewBox?: ViewBox;
property x
x?: number | string;
property xAxis
xAxis?: object;
property xAxisId
xAxisId?: string | number;
property y
y?: number | string;
property yAxis
yAxis?: object;
property yAxisId
yAxisId?: string | number;
interface ResponsiveContainerProps
interface ResponsiveContainerProps {}
property aspect
aspect?: number;
property children
children: React.ReactNode;
property className
className?: string | number;
property debounce
debounce?: number;
property height
height?: string | number;
property id
id?: string | number;
property maxHeight
maxHeight?: string | number;
property minHeight
minHeight?: string | number;
property minWidth
minWidth?: string | number;
property width
width?: string | number;
interface SankeyProps
interface SankeyProps extends EventAttributes, Partial<PresentationAttributes> {}
property children
children?: React.ReactNode[] | React.ReactNode;
property className
className?: string;
property data
data: { nodes: any[]; links: Array<{ target: number; source: number; value: number }>;};
property dataKey
dataKey?: DataKey;
property height
height?: number;
property iterations
iterations?: number;
property link
link?: object | ContentRenderer<any> | React.ReactElement;
property linkCurvature
linkCurvature?: number;
property margin
margin?: Partial<Margin>;
property nameKey
nameKey?: string | number | RechartsFunction;
property node
node?: object | ContentRenderer<any> | React.ReactElement;
property nodePadding
nodePadding?: number;
property nodeWidth
nodeWidth?: number;
property style
style?: object;
property width
width?: number;
interface SankeyState
interface SankeyState {}
property activeElement
activeElement?: any;
property activeElementType
activeElementType?: any;
property isTooltipActive
isTooltipActive?: boolean;
property links
links?: any;
property nodes
nodes?: any;
interface ScatterPoint
interface ScatterPoint {}
interface ScatterProps
interface ScatterProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {}
property activeIndex
activeIndex?: number;
property activeShape
activeShape?: object | RechartsFunction | React.ReactElement;
property data
data?: readonly object[];
property dataKey
dataKey?: DataKey;
property hide
hide?: boolean;
property id
id?: string;
property legendType
legendType?: LegendType;
property line
line?: boolean | object | RechartsFunction | React.ReactElement;
property lineJointType
lineJointType?: LineType;
property lineType
lineType?: 'joint' | 'fitting';
property name
name?: string | number;
property points
points?: readonly ScatterPoint[];
property shape
shape?: | 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | React.ReactElement | ContentRenderer<any>;
property xAxisId
xAxisId?: string | number;
property yAxisId
yAxisId?: string | number;
property zAxisId
zAxisId?: string | number;
interface SectorProps
interface SectorProps extends EventAttributes, Partial<PresentationAttributes> {}
property className
className?: string;
property cornerRadius
cornerRadius?: number | string;
property cx
cx?: number;
property cy
cy?: number;
property endAngle
endAngle?: number;
property innerRadius
innerRadius?: number;
property outerRadius
outerRadius?: number;
property startAngle
startAngle?: number;
interface SegmentItem
interface SegmentItem {}
interface SurfaceProps
interface SurfaceProps {}
interface SymbolsProps
interface SymbolsProps extends Partial<PresentationAttributes> {}