With OH 4.2.2 I log the data for a field, which is included in a sitemap as
Chart item=i period=D refresh=60000
In BasicUI when I click on the chart I can select for what period to show the data - last two years, last year, … last week, last hour, next hour, next two hours, next four hours, …, next two years. As for this item there are no forecasts, I want to remove from the menu the option to select future periods. The availability of these future options clutters the menu with not needed parameters, making the choices more time consuming.
The period
parameter for the Chart element - Sitemaps | openHAB - seems to be supposed to allow selection of what time frames to show for the chart. It speaks about dash -
as separator between past and future. But whatever I try with a dash, like period=D-
the syntax is declared as invalid.
At Include in the documantion of Chart’s period parameter examples with `-` · Issue #2470 · openhab/openhab-docs · GitHub I have asked to include in the documention of Chart’s period parameter examples, e.g. how to hide in BasicUi the option to select future periods. The answer was to raise this question in the forum.