linearGradient

Stops without a color use the base color.

Call it outside of components, so that the definition stays the same between renders.

Available since Recharts 3.11

Return value

React.ComponentClass<RechartsFillDefinitionProps, any> | React.FunctionComponent<RechartsFillDefinitionProps>

  • gradientRechartsLinearGradient

    the gradient to draw