OH3: Charts/Graphs/Plots

Due to the hint of @rlkoshak i found out the differences to show a switch item on a charts page.

If you add a time series in the pages chart builder a time series looks something like:

- component: oh-time-series
      config:
        gridIndex: 0
        xAxisIndex: 0
        yAxisIndex: 0
        type: line
        name: Bewohner
        item: presence

If you generate a chart from the “Analyze Button” the time series looks like:

- component: oh-time-series
      config:
        name: Bewohner
        gridIndex: 0
        xAxisIndex: 0
        yAxisIndex: 0
        type: line
        areaStyle: {}
      slots:
        markArea:
          - component: oh-mark-area
            config:
              name: presence
              item: presence

With that in mind you are able to generate Switch-Charts from within the pages-section! Thanks!

2 Likes