What's Changed
Feat
ResponsiveContainer
:onResize
callback function by @ckifer in #3361XAxis
,YAxis
:includeHidden
prop - include all datapoints in domain calculation even when hidden by @neefrehman in #3103CartesianAxis
: new interval optionequidistantPreserveStart
by @nikolasrieble in #3392
Fix
ResponsiveContainer
: default min-width to 0 to override default auto behavior that breaks flexbox layouts by @ckifer in #3391Area
: Add missing 'data' type to Area component by @ondrejvelisek in #3443Brush
/XAxis
: fix NaN regression wheninterval={0}
by @nikolasrieble in #3454ReferenceArea
/ReferenceLine
: revert regression whereifOverflow
prop is not obeyed due to missing defaultProps by @ckifer in #3455
Docs
- lots of storybook changes - go check it out!
Dependencies
- chore: explicitly upgrade minor version of react-smooth by @ckifer in #3397
- chore: upgrade react-resize-detector to 8.x by @ckifer in #3418
Refactor
- Refactoring: Adapt getTicks to increase reusability of code by @nikolasrieble in #3393
- Refactoring: Extract TicksUtils from CartesianAxis and add unit tests by @nikolasrieble in #3386
New Contributors
- @ondrejvelisek made their first contribution in #3443
Full Changelog: v2.4.3...v2.5.0