Skip to main content

Interface: RechartsDotProps

Defined in: packages/sdvplot/src/recharts.ts:19

What Recharts hands a series' dot (Line, Area, Radar) or shape (Scatter) render prop: the subset read here.

Properties​

cx?​

optional cx?: string | number

Defined in: packages/sdvplot/src/recharts.ts:21

The point's centre in px.


cy?​

optional cy?: string | number

Defined in: packages/sdvplot/src/recharts.ts:22


index?​

optional index?: number

Defined in: packages/sdvplot/src/recharts.ts:24

The point's index in its series.


payload?​

optional payload?: any

Defined in: packages/sdvplot/src/recharts.ts:29

The data row the point was drawn from.


points?​

optional points?: readonly unknown[]

Defined in: packages/sdvplot/src/recharts.ts:26

The series' points (a Line's or Area's dot), so last can find the final one.