XYChart: BarGroup with Glyphs #1881
Unanswered
SimonPrato11
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using the visx/xychart package. I'm trying to create a grouped bar chart with glyphs as labels.
While glyphs work fine for stacked bar charts, they don't work for grouped ones.
The problem is that when the bars are grouped, the glyph can't access the position (x-axis) of each bar.
I can't find a solution for this.
I would much appreciate any advice.
The original chart:
A simpler codesandbox example:
https://codesandbox.io/p/sandbox/tooltip-visx-forked-9v7cp7?workspaceId=a5f704c6-2c6a-4a77-92a0-55b400b5f99c
Beta Was this translation helpful? Give feedback.
All reactions