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

roundTop display issues #93

Open
jaredramirez opened this issue Sep 21, 2021 · 0 comments
Open

roundTop display issues #93

jaredramirez opened this issue Sep 21, 2021 · 0 comments

Comments

@jaredramirez
Copy link

Hey there,

First off, thanks for the super rad package!

When using bar stacks with roundTop, I've come across two kind of obscure display issues when using CA.roundTop on C.bars within a stack

  1. Only the topmost bar of the entire graph is rounded, rather than the topmost bar of that stack. In the following screenshot, I would expect the top of the only visible bar on the 9/16 to be rounded

Screen Shot 2021-09-21 at 3 34 43 PM

2. Sometimes, when showing bars where some columns have very high values and others have very low, the rounded top produces unexpected results. In the case of the Week of Aug 23, there's a bit of the bar displayed below the x axis.

Screen Shot 2021-09-21 at 3 27 05 PM

The code is roughly:

C.bars [ CA.roundTop 0.3 ]
     [ C.stacked [ ... ]
     ]
     data

If it'd be helpful, I can also re-create these issues in an Ellie.

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

No branches or pull requests

1 participant