Symbols
Renders a symbol from a set of predefined shapes.
Related Links
classNamestringoptional
cxnumber | stringoptional
cynumber | stringoptional
fillRechartsFill | stringoptional
The fill of the symbol. Recharts renders the definition with a unique ID. Set the
colorof the fill object: there is no theme color to fall back to.Available since Recharts 3.11
FORMAT:
<Symbols fill={{ color: 'blue', definition: pattern(patterns.diagonal) }} />Examples:
sizenumberoptional
Examples:
sizeType"area" | "diameter"optional
type"circle" | "cross" | "diamond" | "square" | "star" | "triangle" | "wye"optional
Examples: