recharts / recharts

Redefined chart library built with React and D3
http://recharts.org
MIT License
22.95k stars 1.67k forks source link

renderGraphicChild no longer passes activeIndex prop #4498

Closed PavelVanecek closed 3 weeks ago

PavelVanecek commented 3 weeks ago

Description

All graphical elements are using context, time to remove this.

Related Issue

https://github.com/recharts/recharts/discussions/3717

Motivation and Context

No cloning

How Has This Been Tested?

npm test

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.40%. Comparing base (b37ea34) to head (36853ef).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.x #4498 +/- ## ========================================== - Coverage 95.41% 95.40% -0.01% ========================================== Files 111 111 Lines 21509 21499 -10 Branches 2988 2985 -3 ========================================== - Hits 20522 20512 -10 Misses 981 981 Partials 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.