I am learning to use OH3 and have started to test the chart page functionality by creating a page with two grids. Using just one grid works fine but when having two grids these are not shown as separate items, they are superimposed on each other giving a pretty useless result.
I have searched the forums etc but not seen any similar issues so I guess I have missed something but cannot find what it might be so I am grateful for any assistance.
Here is the design page:
And here is the result:
The YAML code is here:
config:
label: TestChart
sidebar: true
slots:
grid:
- component: oh-chart-grid
config: {}
- component: oh-chart-grid
config: {}
xAxis:
- component: oh-time-axis
config:
gridIndex: 0
- component: oh-time-axis
config:
gridIndex: 1
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
name: Grader
min: "15"
max: "35"
nameLocation: center
nameGap: 20
nameRotate: "90"
- component: oh-value-axis
config:
gridIndex: 1
name: Grader
min: "-30"
max: "30"
nameLocation: center
nameGap: 20
nameRotate: "90"
series:
- component: oh-time-series
config:
name: Temperatur nedre hall
gridIndex: 0
xAxisIndex: 0
yAxisIndex: 0
type: line
item: Temp1_node1
- component: oh-time-series
config:
name: Frys
gridIndex: 1
xAxisIndex: 1
yAxisIndex: 1
type: line
item: Temp_node2_freezer
I am using latest version of OpenHabian on a RPi 4.