Add on_percent into Plotly graph

This commit is contained in:
Jean-Marc Collin
2024-11-20 10:38:32 +01:00
committed by GitHub
parent 289ccc7bb7
commit 0a658b7a2a

View File

@@ -1279,9 +1279,13 @@ Replace values in [[ ]] by yours.
yaxis: y1 yaxis: y1
name: Ema name: Ema
- entity: '[[climate]]' - entity: '[[climate]]'
attribute: regulated_target_temperature attribute: on_percent
yaxis: y1 yaxis: y2
name: Regulated T° name: Power percent
fill: tozeroy
fillcolor: rgba(200, 10, 10, 0.3)
line:
color: rgba(200, 10, 10, 0.9)
- entity: '[[slope]]' - entity: '[[slope]]'
name: Slope name: Slope
fill: tozeroy fill: tozeroy
@@ -1306,12 +1310,19 @@ Replace values in [[ ]] by yours.
yaxis: yaxis:
visible: true visible: true
position: 0 position: 0
yaxis2:
visible: true
position: 0
fixedrange: true
range:
- 0
- 1
yaxis9: yaxis9:
visible: true visible: true
fixedrange: false fixedrange: false
range: range:
- -0.5 - -2
- 0.5 - 2
position: 1 position: 1
xaxis: xaxis:
rangeselector: rangeselector: