More control over the grid line
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
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!
Contributor guide
Research direction
Start by tracing the bar chart grid configuration and the verticalInterval behavior in the repository. Check how the first vertical grid line is positioned relative to the bars, then determine how configurable positioning could support the requested half-bar alignment. Done means vertical lines can be aligned with the middle of odd-numbered hourly bars without the current workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100