curve Recharts interpolation: natural, linear, step, stepBefore, stepAfter, monotone, basis, bump and their variants. | curveType | natural |
reverseY Move the y axis to the right. | boolean | false |
reverseX Move the x axis to the top. | boolean | false |
animation Animate the line on data change. Turn it off for a chart that updates faster than the animation runs. | boolean | true |
animationBegin Delay before the animation starts, in milliseconds. | number | — |
animationDuration Animation length, in milliseconds. | number | — |
animationEasing Recharts easing name. | unknown | — |
xAxisType Treat x values as numbers rather than equally spaced categories. | number•category | — |
xDomain Visible x range. Requires xAxisType="number". | [number, number] | — |
legend Legend position and visibility. | LegendConfig | {} |
error Render the error state instead of the chart. | boolean | false |
tooltip Show a tooltip on hover. | boolean | true |
grid Which grid lines to draw. | x•y•both•none | both |
| x•y•both•none | both |
loading Render the loading state instead of the chart. | boolean | false |
border Panel border colour. false removes it. | Colors•surface•transparent•boolean | neutral-alpha-weak |
| …and every ChartProps prop | inherited | — |
| …and every FlexProps prop | inherited | — |