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

Render bar labels outside the bar #1277

Open
markov00 opened this issue Jul 29, 2021 · 3 comments
Open

Render bar labels outside the bar #1277

markov00 opened this issue Jul 29, 2021 · 3 comments
Labels
:annotation Annotation (line, rect, text) related issue enhancement New feature or request :xy Bar/Line/Area chart related

Comments

@markov00
Copy link
Member

markov00 commented Jul 29, 2021

If there's room past the single bar (in the positive or negative direction, wherever the bar extends toward) then the label would be outside the bar. There's more text contrast there. Example

We can consider two ways to achieve the result:

  • compute the required room for the labels and adds it to the chart padding
  • if there is no room for the label, just put the label inside the chart rather then outside
@markov00 markov00 added enhancement New feature or request :annotation Annotation (line, rect, text) related issue :xy Bar/Line/Area chart related labels Jul 29, 2021
@ghudgins
Copy link
Contributor

ghudgins commented Sep 7, 2021

@brodrigz
Copy link

brodrigz commented Feb 1, 2024

+1 Such a basic visibility feature, should've been prioritized...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:annotation Annotation (line, rect, text) related issue enhancement New feature or request :xy Bar/Line/Area chart related
Projects
None yet
Development

No branches or pull requests

3 participants