animationDuration | number | The duration of the reveal animation in milliseconds. |
areaProps | object | The props to pass to each Area (can also override the presets we use). Check Recharts docs for all available. |
cartesianGridProps | object | The props to pass to the CartesianGrid (can also override the presets we use). Check Recharts docs for all available. |
checkboxProps | object | The props to pass to each Checkbox. Check our docs for all available. |
children | node | Any additional content to display below the chart. |
cursorColor | string | The color of the cursor line in the chart that appears when the tooltip is hovered. |
customAttributes | object | Custom attributes to apply to the chart wrapper. |
customClasses | string | array | object | Custom classes to apply to the chart wrapper. |
data | array | The data to display in the chart. Check Recharts docs for formats. |
gridColor | string | The color of the grid lines and the x and y axis. |
height | number | string | The height of the chart. |
legendProps | object | The props to pass to the Legend (can also override the presets we use). Check Recharts docs for all available. |
options | array | The options to display as checkboxes to toggle the visibility of each data set. |
showCheckboxes | boolean | Whether to show the checkboxes to toggle the visibility of each data set. |
showLegend | boolean | Whether to show the legend. |
tooltipProps | object | The props to pass to the Tooltip (can also override the presets we use). Check Recharts docs for all available. |
type | string | The type of chart to render. |
width | number | string | The width of the chart. |
xAxisProps | object | The props to pass to the XAxis (can also override the presets we use). Check Recharts docs for all available. |
yAxisProps | object | The props to pass to the YAxis (can also override the presets we use). Check Recharts docs for all available. |
ref | object | The reference to the chart component. |