Mouseover tooltip on temporal chart should include year
- Dominant language
- Python
- Stars
- 74.8k
- Forks
- 18.3k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 685
Description
### Bug description
On a scatterplot spanning multiple years, and presumably other temporal charts, only the day and month are visible in the tooltip when I mouseover a point. I have to look down to the x-axis to see what year I'm in. This chart spans 2014-2026 so it's not obvious what year I'm in when I mouse over a point.
I would like to see "Thu Mar 20 2016".
### Screenshots/recordings
_No response_
### Superset version
6.1.0
### Python version
I don't know
### Node version
I don't know
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Contributor guide
Research direction
Start by reproducing the tooltip behavior on a temporal scatterplot spanning multiple years in Superset 6.1.0, then locate the chart tooltip implementation responsible for date formatting. Done means mouseover tooltips show the year along with the day and month, such as "Thu Mar 20 2016", without requiring the x-axis for context.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100