Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorBar does not animate #4055

Open
1 task done
WillemSleegers opened this issue Jan 14, 2024 · 1 comment
Open
1 task done

ErrorBar does not animate #4055

WillemSleegers opened this issue Jan 14, 2024 · 1 comment
Labels
enhancement Enhancement to a current API

Comments

@WillemSleegers
Copy link

WillemSleegers commented Jan 14, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://master--63da8268a0da9970db6992aa.chromatic.com/?path=/docs/api-cartesian-errorbar--docs

Steps to reproduce

Simply check out the example in the Storybook.

What is expected?

For the error bars to animate when they appear.

What is actually happening?

The error bars simply pop in.

Environment Info
Recharts v2.10.4
React I assume the latest
System macOS 14.2.1 (23C71)
Browser Version 17.2.1 (19617.1.17.11.12)
@ckifer ckifer added the enhancement Enhancement to a current API label Jan 14, 2024
@ckifer
Copy link
Member

ckifer commented Jan 14, 2024

I think this has always been the case. Labeled for now

ckifer pushed a commit that referenced this issue Mar 21, 2024
## Description

Added animation for ErrorBar component

## Related Issue

[ErrorBar does not
animate](#4055)

## Motivation and Context

Previously the ErrorBar didn't have animation, now animation has been
introduced to make it have a smoother visual effect

## How Has This Been Tested?

It was tested locally with Storybook and validated through unit tests

## Screenshots (if appropriate):


https://github.com/recharts/recharts/assets/41566276/32d7f85b-3e10-47de-87a8-ac5edd018072

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [ ] I have added a storybook story or extended an existing story to
show my changes
ckifer pushed a commit that referenced this issue Apr 15, 2024
## Description

The current `ErrorBar` animation transitions from left to right.
According to the discussions in the previous
[PR](#4311), it has now been
changed to expand centrally towards both the top and bottom

## Related Issue

[ErrorBar does not
animate](#4055)

## Motivation and Context

## How Has This Been Tested?

It was tested locally with Storybook and validated through unit tests

## Screenshots (if appropriate):


https://github.com/recharts/recharts/assets/41566276/2fe5908b-4d83-4664-821d-761cd20e847e

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [ ] I have added a storybook story or extended an existing story to
show my changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to a current API
Projects
None yet
Development

No branches or pull requests

2 participants