Chart Page: markArea with values from items

Hi!

I try to get a range shown in a chart based on values defined in some items.
E.g. my graph is showing the wind speed and there is a range defined, where “stormy” is detected. (Note: it’s a range to implement a hysteresis for the threshold). The range is defined by two items “UpperWindSpeed” and “LowerWindSpeed”.

I like to see the range in my chart using “markArea” option. It works fine when defining static values (15, 20), but how can I use the values defined by my items (UpperWindSpeed, LowerWindSpeed)?

...
  series:
    - component: oh-time-series
      config:
        name: Windgeschwindigkeit Dach MQTT
        gridIndex: 0
        xAxisIndex: 0
        yAxisIndex: 0
        type: line
        item: WindSpeed   
        markArea:
          silent: false
          itemStyle:
            color: rgba(255, 173, 177, 0.4)
          data:
            - - name: Stormy Range
                yAxis: 15
              - yAxis: 20

Markus

Alas, at the moment, you can’t. See this thread for a few more details: