Number of selected items for the Time Range Selector
As a .Stat DE user,
I need an indicator of the time-period available and selected items in the TimeRangeSelector filter of the visualisation page,
So that it is coherent with the rest of the features.
Acceptance Criteria
-
The expected design is available and up-to-date here and as below:
-
The green numbers are calculated based on the frequency as follow: (1)/(2)
(1): selected end period - selected start period + 1
(2): last available - first available + 1 -
Note: "periods" for monthly data are months, for annual data are years, etc...
-
When start or end periods are not selected ("--"), then use in the calculation the last or first available periods instead.
-
As long as data availability is not available
😉 , then use the configurable period boundaries from the settings.json.
Note: The mockup wrongly shows "0" as number of selected periods. Please use the calculation as explained above.