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

How to create Bar where one bar is styled differently? #239

Open
garygcchiu opened this issue Apr 23, 2024 · 2 comments
Open

How to create Bar where one bar is styled differently? #239

garygcchiu opened this issue Apr 23, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@garygcchiu
Copy link

Question

I wanted to create something like this:

IMG_0788

Basically a bar chart, but one of the bars is styled differently, perhaps the fill and stroke.

Background Info/Attempts

Looking at useBarPath and the Bar component, I haven't been able to figure out a way where I can get the index of a given path.

Is there a barebones example or guidance for how this can be achieved?

Thanks!

@zibs
Copy link
Contributor

zibs commented Apr 24, 2024

Thanks @garygcchiu -- I'm not sure if it's possible/straightforward right now, but I think that it should be. If I have the time I'll try to get something set up here.

@carbonrobot carbonrobot added the enhancement New feature or request label Apr 25, 2024
@julian-gargicevich
Copy link

keen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants