🐛 [BUG] Brush doesn't work correctly when axis.type is time or timeCat
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Bug description [Please make everyone to understand it]
* _Required_ **Link to minimal reproduction**: https://codesandbox.io/s/icy-brook-7ju71f
### 📷 Step to reproduce
| before brush | after brush |
| --- | --- |
|  |  |
### 🏞 Expected result
- Brush should work as expected.
### 🚑 Any additional [like screenshots]
* **G2Plot Version**: 2.4.23
* **Platform**: Chrome 107.0.5304.121 on MacOS
Contributor guide
Research direction
Start with the linked CodeSandbox minimal reproduction and compare brush behavior for time and timeCat axes in G2Plot 2.4.23. Trace the brush handling from the reproduction, then verify that brushing produces the expected result shown by the issue's before-and-after screenshots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100