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

feat(bar): bar label and tooltip always visible #128

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

oldru27
Copy link

@oldru27 oldru27 commented Oct 22, 2024

Commit 1f1dc8c

  • Make sure the bar label is centered on the visible part of the bar, even when the bar overflows on the left or on the right.
  • The bar label is wrapped into a container whom position is calculated based on the barContainer position and bar position (xStart, xEnd)

Commit 0c5a50e

  • Make sure the tooltip is always visible on the left part of the bar, even when the chart is not positioned all the way to the left
  • The tooltip left position take into account the left position of the Chart

Closes #127

Olivier Druais added 2 commits October 22, 2024 09:48
- Make sure the bar label is centered on the visible part of the bar, even when the bar overflows.
- The bar label is wrapped into a container whom position is calculated based on the barContainer position and bar position (xStart, xEnd)
If the bar is going out of bounds, make the tooltip visible. Take into account the position of the chart in the page.
@oldru27 oldru27 changed the title feat(bar): bar label always visible and centered feat(bar): bar label and tooltip always visible Nov 4, 2024
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

Successfully merging this pull request may close these issues.

Bar label out of chart bounds
1 participant