Skip to content

Include in the documentation of Chart’s period parameter examples with - #2470

@dilyanpalauzov

Description

@dilyanpalauzov

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 - https://www.openhab.org/docs/ui/sitemaps.html#element-type-chart - 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.

  • Include in the documantion of Chart’s period parameter examples, e.g. how to hide in BasicUi the option to select future periods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions