Is the step parameter supported in any way for timeseries display?

Hi,

I have tried to make the step option work for displaying time series, both this way:

- component: oh-time-series
      config:
        gridIndex: 0
        item: InstantPower
        name: Power
        type: step
        xAxisIndex: 0
        yAxisIndex: 1

and this way:

- component: oh-time-series
      config:
        gridIndex: 0
        item: InstantPower
        name: Power
        xAxisIndex: 0
        yAxisIndex: 1
        options: 
          step: start 

And it seemed that none was having any effect… Is it supposed to work or it is simply not supported in OH?

Thanks,

You should only need to add step: start to the series config itself, not in an options object. Do bare in mind, however, that if you are using data that is persisted every minute, the step configuration actually has minimal effect. With every minute data, long horizontal lines in a chart are, in fact, populated with datapoints, not just extrapolated from the first point in the line.

1 Like

Thank you, thank you. I tried a few things, but not this one. Wonderful.