Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

feat(legacy-preset-chart-nvd3): show negative values on bars #8

Merged
merged 5 commits into from
Mar 5, 2019

Conversation

betodealmeida
Copy link
Contributor

🐛 Bug Fix

Turns out the functionality to show values in bars only works when they're positive. I modified the code so that it works with negative values as well:

screen shot 2019-03-05 at 12 38 27 am

This PR is based on #7.

@betodealmeida betodealmeida requested a review from a team as a code owner March 4, 2019 22:53
@betodealmeida betodealmeida added the #enhancement New feature or request label Mar 4, 2019
@kristw
Copy link
Collaborator

kristw commented Mar 4, 2019

This seems to combine changes from another PR as well.

@betodealmeida
Copy link
Contributor Author

@kristw yeah, I branched this one off of that one.

@kristw
Copy link
Collaborator

kristw commented Mar 4, 2019

Do you want to complete that one first? This one can't be merged until that one goes in.

@kristw kristw changed the title Show negative values on bars feat(legacy-preset-nvd3): show negative values on bars Mar 4, 2019
@kristw kristw changed the title feat(legacy-preset-nvd3): show negative values on bars feat(legacy-preset-chart-nvd3): show negative values on bars Mar 4, 2019
@betodealmeida
Copy link
Contributor Author

Ah, sorry for getting the title wrong.

I fixed the other one so it doesn't create a bunch of gs

@kristw kristw merged commit 8a2dbdc into master Mar 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the VIZ-319 branch March 5, 2019 19:15
nytai referenced this pull request in preset-io/superset-ui-plugins Apr 27, 2020
nytai referenced this pull request in preset-io/superset-ui-plugins Apr 27, 2020
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
#enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants