You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Highlight rect is always positioned in front of the bars in the DOM order. It would be very beneficial to have a way to render it before the bars in the DOM order so it can be displayed behind the bars without having the highlight color overtop of the bars.
Edit I lied, the area is rendered before the bars so it should be behind them and is likely a skill issue on my end!
Second edit: The highlighted area has a z-index of 50, perhaps that's my issue?
CleanShot.2024-10-22.at.20.27.36.mp4
Notice how the highlight is always rendering on top of the bars thus changing the color of them in the process.
The text was updated successfully, but these errors were encountered:
huntabyte
changed the title
BarChart: Highlight _behind_ bars
BarChart: Highlight behind bars
Oct 23, 2024
Hey @huntabyte, we chatted on Discord but leaving this here for anyone else. Currently all highlights on the simplified charts are rendered on top of the marks, but you can turn off the "default highlight" and render your own in the below-marks slot
In the future, we might support <BarChart highlight={false}> to completely disable the built-in highlight, or allow customizing the render order of each slot, similar to Svelte UX's <Pagination show=[...]>
Currently, theHighlight
rect is always positioned in front of the bars in the DOM order. It would be very beneficial to have a way to render it before the bars in the DOM order so it can be displayed behind the bars without having the highlight color overtop of the bars.Edit I lied, the area is rendered before the bars so it should be behind them and is likely a skill issue on my end!Second edit: The highlighted area has a z-index of 50, perhaps that's my issue?CleanShot.2024-10-22.at.20.27.36.mp4
Notice how the highlight is always rendering on top of the bars thus changing the color of them in the process.
The text was updated successfully, but these errors were encountered: