Skip to content

Display bar outlines with height zero #3848

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

Merged
merged 5 commits into from
May 21, 2019

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented May 9, 2019

Fix #3797 i.e. for bars as well as histograms.
Note: a similar fix was not desirable for waterfalls/funnels.
And the text is not printed when the bar height is zero.

@plotly/plotly_js

@archmoj archmoj added the bug something broken label May 9, 2019
@archmoj archmoj added this to the v1.48.0 milestone May 9, 2019
@archmoj
Copy link
Contributor Author

archmoj commented May 17, 2019

TODO: we need to display funnel bar outlines with zero height.

@etpinard
Copy link
Contributor

@archmoj reading up #3797 (comment) again, in particular:

Also re: hover - makes sense to include the lines, though this gets tricky if there’s overlap like stacking.

we should add a hover test, locking down the behaviour.

@etpinard
Copy link
Contributor

we should add a hover test, locking down the behaviour.

done in 7224fe4

💃 from me.

Feel free to merge this thing!

@archmoj
Copy link
Contributor Author

archmoj commented May 21, 2019

@etpinard thanks very much for the help on this.
Merging.

@archmoj archmoj merged commit 1ce7848 into master May 21, 2019
@archmoj archmoj deleted the fix3797-display-bars-with-height-zero branch May 21, 2019 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bar chart: draw the outline, even if the height is zero.
2 participants