OH3 chart

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: _what OS is used and which version_Windows 7
    • Java Runtime Environment: _which java platform is used and what version_Zulu 11
    • openHAB version:3

I try to build a graph and nothing comes of it. The image has only axes and no data. I have been suffering for more than a week.

config:
label: Temperature chart
sidebar: true
slots:
grid:
- component: oh-chart-grid
config: {}
xAxis:
- component: oh-time-axis
config:
gridIndex: 0
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
scale: true
series:
- component: oh-time-series
config:
name: Barn temperature
gridIndex: 0
xAxisIndex: 0
yAxisIndex: 0
type: line
item: ESP32_1_Temperature

Do you see a graph of your item in the model? Usually all items that are represented with numbers have in the model an “Analyze” button. If the graph there is also empty, you should check if a persistence service is configured.

When I click “Analyze”, the graph is also empty. The configuration is as follows. Or is it not enough?


MapDB does not store a history and only is for storing the last state of an item. You should switch to RRD4j as default

The size of my gratitude to you has no limits! I already thought that I would go crazy, but everything turns out to be so simple.

1 Like