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

Value labels option for charts without hovering #67

Closed
AlonaNadler opened this issue Feb 19, 2019 · 3 comments · Fixed by #182
Closed

Value labels option for charts without hovering #67

AlonaNadler opened this issue Feb 19, 2019 · 3 comments · Fixed by #182
Assignees
Labels
:chart Chart element related issue enhancement New feature or request released Issue released publicly

Comments

@AlonaNadler
Copy link

Often raised by users, users use dashboard/visualization in kiosk node displaying it on monitor, they can't tell the value of the chart without hovering on the area of the chart, this issue often also raised in the context of reporting, when you export a report isn't possible to hover and know the value of the chart.
It will be helpful if we had an option to display the chart with the values labels (similar to pie)
image

@AlonaNadler AlonaNadler added the enhancement New feature or request label Feb 19, 2019
@markov00
Copy link
Member

That's a great feature. Let me write down some possible edge cases that we need to handle:

  • text/value on short or narrow bars can overlap other bars or texts
  • long text/value can overlap other bars specially
  • medium to high density charts can be quite crowded

Possible solutions (configurable via editor/code):

  • display only labels that doesn't overlap (hide value on short/narrow bars, hide value when it it's longer than the bar width, hide value when overflowing on another bar)
  • show only values on min and max bars
  • try a positioning algorithm to display label without overlaps like for piechart
  • add annotations to specific values only

@markov00 markov00 changed the title Value labels option for charts without hovering [chart] Value labels option for charts without hovering Feb 28, 2019
@markov00 markov00 mentioned this issue Feb 28, 2019
93 tasks
@markov00 markov00 added this to the 7.1 milestone Feb 28, 2019
@markov00 markov00 added the :chart Chart element related issue label Feb 28, 2019
@markov00 markov00 changed the title [chart] Value labels option for charts without hovering Value labels option for charts without hovering Feb 28, 2019
@markov00 markov00 mentioned this issue Mar 19, 2019
3 tasks
@emmacunningham emmacunningham self-assigned this Apr 10, 2019
@emmacunningham
Copy link
Contributor

For a first pass on this, we can handle just the simple implementation (and when TextAnnotation is implemented, refactor so that text labels are handled internally as a TextAnnotation) and set aside edge cases.

@markov00
Copy link
Member

markov00 commented May 4, 2019

🎉 This issue has been resolved in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:chart Chart element related issue enhancement New feature or request released Issue released publicly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants