You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adapt chart date labels to the visible time range #1620
On openScale 3.1.4-oss (78), open Charts with All Days and No Aggregation and view a history spanning several years.
My chart shows 1,442 entries with x-axis labels such as 2 Nov, 24 Jun, and 12 Feb. Without the year, it’s hard to tell where I am in the timeline. Switching to Year aggregation gives me labels such as 2017, 2019, and 2021 and reduces the chart to 10 yearly entries.
Could the x-axis choose tick spacing and labels based on the visible date range? I’d like year ticks when viewing several years, then month or day labels as I zoom in. The selected aggregation would still control which measurements are plotted.
If this fits the project, I’d be happy to try an AI-assisted implementation, test it on Android with multi-year demo data, and submit a pull request
Activity