data | ChartDataValue[] | - | |
height | string | - | |
emptyView | ReactNode | - | View that is provided when data is empty/undefined |
flexGrow | boolean | - | Allow the height controlling container to set flex-grow: 1. Can only be
used in combination with `height` |
className | string | - | |
syncId | string | number | - | Charts with the same syncId will synchronize Tooltip and Brush events.
@see Synchronized Charts Example |
syncMethod | SyncMethod | - | Customize how the charts will synchronize tooltips and brushes.
`index`: synchronize using the data index in the data array. Index expects that all data has the same length.
`value`: synchronize using the data value on categorical axis (categorical: XAxis in horizontal layout, YAxis in vertical layout).
function: a custom sync method which receives tick and data as argument and returns an index.
@defaultValue index |
children | ReactNode | - | |