Display the right period format in charts
The charts always display periods as formatted dates (days) when hovering the data points (e.g. 2023/01/01
), even when the period is annual, or monthly (e.g. 2023
).
The chart must respect that period format.
This applies to the sparklines on the dataset page, the "chart" tab on the dataset page, and the chart on the series page.
Moreover when the series frequency is "daily", the period should be formatted YYYY-MM-DD
, not YYYY/MM/DD
.
Examples
Edited by Christophe Benz