Add customization to the X-Axis ( time )
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
### Problem Statement
I would like to show timestamp/dates that make sense for the data I am showing in a graph/chart.
Currently, X-Axis date/timestamp seem to be restricted to [Month Day Hour].
It works, but it is missing some information that is useful, and has information that I personnaly do not need.
Missing:
1) Day name
=> To identify easily the period of the week and easily associate drops with weekend days without having to check a calender.
Not needed:
1) Hour
=> When interval is daily, or the time range is wide ( 15D+ ), showing the hour doesn't really give much info
( especially since it seems to be fixed, on my charts it always show 4:00 AM )
Additional useful parameter:
1) Axis indicator count
It would be helpful to customize the amount of descriptor there is for each axis.
If I'm making a graph that looks only at the 7 last days, maybe showing each would be pretty readable, and better than the default 3 I am seeing currently ?
Note: I've only really used Dashboards and Discover currently, so if this is doable in another tab/charts, please redirect me! ( Althought it would be useful there too! )
### Solution Brainstorm
The most straightforward way to add it that I can see would be to add a few more of the category below the graph.
Currently I see Interval, Display and Y-Axis.
It would be nice to add an X-Axis Display, which could have a list of each timestamp parameter that can be toggled.
That way you can customize it as much as needed ( Day, Day Name, Month, Year, Hour, at least, but some formating variation could be added later ).
A text box/dropbox where you could enter a number for the indicator count of the X and another for Y would be helpful too!
### Product Area
Dashboards
Contributor guide
Research direction
Start by locating the dashboard and Discover chart implementation that formats X-axis timestamps and controls axis indicators. Compare the current behavior with the requested day names, optional hours, date components, and configurable indicator count; done means the intended settings are defined and the resulting chart labels match them.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100