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

fix(column): ♻️ remove ErrorWhisker and Tooltip when error is null #1252

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

lloydrichards
Copy link
Collaborator

@lloydrichards lloydrichards commented Nov 6, 2023

It was requested to remove the Standard Errors from the column visualization (#589) so that the ErrorWhiskers component does not show for these columns.

While I was able to filter the chartDatum for any values where the getYError was null, I was also able to remove the getError from the getAnnotationinfo when null

Before

Screenshot 2023-11-06 at 14 36 00

After

Screenshot 2023-11-06 at 14 36 10

Copy link

vercel bot commented Nov 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2023 10:59am

Copy link
Collaborator

@ptbrowne ptbrowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, looks like it is more a fix than a refactor though 😁

@lloydrichards lloydrichards changed the title refactor(column): ♻️ remove ErrorWhisker and Tooltip when error is null fix(column): ♻️ remove ErrorWhisker and Tooltip when error is null Nov 6, 2023
@bprusinowski
Copy link
Collaborator

Nice! There is only one caveat: we can also have standard error whiskers for grouped column charts, I think the logic needs to be applied there too 😁

Nit: you can also add a relevant bullet point to the CHANGELOG, so at the end we have a nice list of all the changes made to the app ✨

Copy link
Collaborator

@bprusinowski bprusinowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@lloydrichards lloydrichards merged commit 8fa45c8 into main Nov 8, 2023
4 of 5 checks passed
@lloydrichards lloydrichards deleted the refactor/remove-standard-error branch November 8, 2023 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants