Trapezoid
animationBeginnumberoptional
DEFAULT:
0animationDurationnumberoptional
DEFAULT:
1500animationEasing"ease" | "ease-in" | "ease-in-out" | "ease-out" | "linear" | "spring" | EasingFunction | `cubic-bezier(${number},${number},${number},${number})`optional
DEFAULT:
"ease"classNamestringoptional
fillRechartsFill | stringoptional
The fill of the trapezoid. 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:
<Trapezoid fill={{ color: 'blue', definition: pattern(patterns.diagonal) }} />heightnumber | stringoptional
Height of the trapezoid in pixels.
DEFAULT:
0isUpdateAnimationActivebooleanoptional
If set to true, trapezoid will update and render with a gradual fade-in animation from left to right.
DEFAULT:
falselowerWidthnumberoptional
Width of the lower horizontal side of the trapezoid in pixels.
DEFAULT:
0upperWidthnumberoptional
Width of the upper horizontal side of the trapezoid in pixels.
DEFAULT:
0xnumber | stringoptional
The x-coordinate of top left point of the trapezoid.
DEFAULT:
0ynumber | stringoptional
The y-coordinate of top left point of the trapezoid.
DEFAULT:
0