Hi folks,
With one of my charts I am having issues and cannot explain why it behaves like this.
When initially loading the chart with the timeframe set to dynamic and setting „D“, the displayed area is wider than a day, resulting in displaying the graph very narrow.
This happens for all selected dynamic timeframes.
It’s only „reparable“ by clicking on line or bar in the toolbox:
This is the code of the chart page:
config:
label: Energie-Diagramme
period: D
slots:
grid:
- component: oh-chart-grid
config:
containLabel: true
show: true
legend:
- component: oh-chart-legend
config:
orient: horizontal
show: true
top: bottom
series:
- component: oh-time-series
config:
gridIndex: 0
item: SolarEdgeSE2200Inverter_ACPowerValue
name: Photovoltaik Produktion (momentan)
type: line
xAxisIndex: 0
yAxisIndex: 0
- component: oh-time-series
config:
gridIndex: 0
item: SE2KM_NetzleistungMomentan
name: Netzleistung (momentan)
type: line
xAxisIndex: 0
yAxisIndex: 0
- component: oh-time-series
config:
gridIndex: 0
item: SE2KM_HausverbrauchMomentan
name: Hausverbrauch (momentan)
type: line
xAxisIndex: 0
yAxisIndex: 0
- component: oh-time-series
config:
gridIndex: 0
item: SE2KM_DirektverbrauchMomentan
name: Direktverbrauch (momentan)
type: line
xAxisIndex: 0
yAxisIndex: 0
- component: oh-time-series
config:
gridIndex: 0
item: SteckdoseWaschmaschine_Power
name: Waschmaschine
type: bar
xAxisIndex: 0
yAxisIndex: 0
title: []
toolbox:
- component: oh-chart-toolbox
config:
presetFeatures:
- dataZoom
- magicType
show: true
tooltip:
- component: oh-chart-tooltip
config:
orient: horizontal
show: true
xAxis:
- component: oh-time-axis
config:
gridIndex: 0
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
name: Leistung [W]
What did I miss to configure?
Does anybody have an idea?
Cheers
Jonathan