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

Add visual on top of bar chart #1749

Open
korneliuscode opened this issue Dec 31, 2024 · 0 comments
Open

Add visual on top of bar chart #1749

korneliuscode opened this issue Dec 31, 2024 · 0 comments

Comments

@korneliuscode
Copy link

I want to add a visual (e.g. a label, vertical line, or a symbol) on top of a bar charts bar.
I can add visuals, but positioning them center to a bar (or 2 bars if there are several series) is not possible out of the box.
Also I would love to position the label/symbol in relation to the bars (e.g. where data labels "top" would be placed) dynamically.
Right now, I can match the index of the bar and select a Y position based on the value (I have to figure that out for each point), but I cannot center the visual, because Translate is absolute.

My ultimate goal is to add a visual indicator that is ideally clickable or has its own tooltip to show some comments/annotations to a particular bar/point.

image

Is there any suggestion for this?

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