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

More control over the grid line #1794

Open
MariusAtasiei opened this issue Nov 28, 2024 · 0 comments
Open

More control over the grid line #1794

MariusAtasiei opened this issue Nov 28, 2024 · 0 comments
Labels
Bar Chart enhancement New feature or request

Comments

@MariusAtasiei
Copy link

Hey everyone,

I need the vertical grid lines on the bar chart to align exactly with the middle of the bars for odd-numbered hours. It’d be awesome if we had more control over the grid to make that happen.

Right now, the best workaround I’ve found is to set the verticalInterval to 1/24 and check if the rounded number (after multiplying by 24) is odd. But since I can’t control where the first vertical line starts (it should be at the halfway point of the first bar, around 00:00), the lines end up being misplaced.

Thanks in advance!

Screenshot 2024-11-28 at 16 42 41
@imaNNeo imaNNeo added enhancement New feature or request Bar Chart labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bar Chart enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants