From 73a2efc5480e068f7a5dcb62a5128f89373366c7 Mon Sep 17 00:00:00 2001 From: mueller-ma Date: Mon, 6 Mar 2023 00:28:16 +0100 Subject: [PATCH] Remove "begin/end" from Sitemap Chart syntax (#2018) They aren't supported in the Sitemap syntax: https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.model.sitemap/src/org/openhab/core/model/sitemap/Sitemap.xtext#L63-L71 Closes #503 Signed-off-by: mueller-ma --- ui/sitemaps.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/sitemaps.md b/ui/sitemaps.md index 23131a1fa..c17d18098 100644 --- a/ui/sitemaps.md +++ b/ui/sitemaps.md @@ -495,8 +495,7 @@ Video url="https://demo.openhab.org/Hue.m4v" ```java Chart [item=] [icon=""] [label=""] [refresh=xxxx] -[period=xxxx] [service=""] [begin=yyyyMMddHHmm] [end=yyyyMMddHHmm] [legend=true/false] -[forceasitem=true/false] +[period=xxxx] [service=""] [legend=true/false] [forceasitem=true/false] ``` Adds a time-series chart object for the display of logged data. @@ -509,9 +508,6 @@ Adds a time-series chart object for the display of logged data. - `period` is the scale of the time axis. Valid values are `h, 4h, 8h, 12h, D, 2D, 3D, W, 2W, M, 2M, 4M or Y`. -- `begin` / `end` sets the beginning and end of the time axis. - Valid values are in the format: `yyyyMMddHHmm` (`yyyy` = year, `MM` = month, `dd` = day, `HH` = hour (0-23), `mm` = minutes). - - `legend` is used to show or to hide the chart legend. Valid values are `true` (always show the legend) and `false` (never show the legend). If this parameter is not set, the legend is hidden if there is only one chart series.