Platform: Qnap NAS docker
OpenHAB version: 3.4.0
I am trying to use bar graph with aggregate-series. This works well exept I miss value the first day every month. This also applies if I switch to year, then I miss the first month.
Anyone have experienced this, or have any idea what I am doing wrong?
Chart code:
config:
chartType: month
label: Solcelle prod mnd
order: "0.1"
period: M
sidebar: true
slots:
dataZoom:
- component: oh-chart-datazoom
config:
show: true
type: inside
grid:
- component: oh-chart-grid
config: {}
legend:
- component: oh-chart-legend
config:
show: true
series:
- component: oh-aggregate-series
config:
aggregationFunction: diff_last
dimension1: date
gridIndex: 0
item: Inverter_AlltimeEnergy_KW_6kW
name: 6kW
stack: one
type: bar
xAxisIndex: 0
yAxisIndex: 0
tooltip:
- component: oh-chart-tooltip
config:
show: true
xAxis:
- component: oh-category-axis
config:
categoryType: month
gridIndex: 0
monthFormat: short
weekdayFormat: short
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
name: kWh
Aggregated series code:
component: oh-aggregate-series
config:
aggregationFunction: diff_last
dimension1: date
gridIndex: 0
item: Inverter_AlltimeEnergy_KW_6kW
name: 6kW
stack: one
type: bar
xAxisIndex: 0
yAxisIndex: 0