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

XYChart: Default height to bars in BarSeries when datum value = 0 #1741

Open
chromodome opened this issue Aug 10, 2023 · 2 comments
Open

XYChart: Default height to bars in BarSeries when datum value = 0 #1741

chromodome opened this issue Aug 10, 2023 · 2 comments

Comments

@chromodome
Copy link

I want to be able to add a bar of a height of 1 or 2 pixels when the datum Y value is 0 so that it acts as a placeholder instead of not rendering anything or showing an empty space. Is this currently possible with the BarSeries in XYChart ?

Screenshot - 2023-08-10 21 50 33
@williaster
Copy link
Collaborator

hey @chromodome this is not currently possible, we would need to add it. but it seems like it should be fairly easy if you (or someone else) wants to take a shot.

to support both vertical and horizontal orientations, I'd probably add a new minLength prop.

@Nagendra88688
Copy link

hey @williaster , can i pick this task?
Please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants