Skip to content

activeBar doesn't work properly if there is a missing data #6994

Description

@TeoVezza95

What is the current behavior?

Image

The active state scales to the next bar by a value equal to the number of missing data.

What is the expected behavior?

active state remains on the current bar ( bar in hover)

Please provide a demo of the problem in a sandbox

https://stackblitz.com/edit/bdua6xbz?file=src%2FExample.tsx

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

3.7.0

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions