Echart - highlight area between 2 lines

I have a chart with 2 values (a min & max value), and I only want to highlight the area between these 2 lines. This can be achieved with areaStyle - origin (docs), but I don’t know how I can get it to work within OH. I can achieve something by setting this parameter to a fixed value, but this is offcourse not the way to go.


Amount of options available in echarts is quite big. Since they are mapped to OH concept of charts, series, grids etc. not all of them are available. Best thing you can do is checking if a corresponding element in OH which maps to a thing in echarts will accept extra arguments/configuration options.
Anyhow / most of complex scenarios which require a JS function or callback are out of the game, due to declarative approach for OH ui.