Hello,
I need your help for my plotty graph
I do not understand why plotty merge November and December in “the month view”
type: custom:plotly-graph
hours_to_show: 4920
layout:
barmode: overlay
yaxis:
visible: true
fixedrange: true
autorange_after_scroll: true
rangegmode: tozero
entities:
- entity: sensor.gaz_total_usage_daily_hp
points_per_hour: 1
barmode: overlay
statistic: state
period:
0m: day
100d: month
100w: month
autorange_after_scroll: true
type: bar
yaxis: 'y'
base: 0
unit_of_measurement: m3
name: Cette année
texttemplate: '%{y:0.1f} m3'
connectgaps: true
show_value: false
fill: tozeroy
filters:
- filter: i>0
marker:
color: rgba(255, 100, 100, 0.6)
- entity: sensor.gaz_total_usage_daily_hp
barmode: overlay
statistic: state
period:
0m: day
100d: month
100w: month
points_per_hour: 1
time_offset: 366d
autorange_after_scroll: true
type: bar
yaxis: 'y'
base: 0
unit_of_measurement: m3
name: L'année dernière
texttemplate: '%{y:0.1f} m3'
connectgaps: false
fill: tozeroy
show_value: false
zero_y_every: d
filters:
- filter: i>0
marker:
color: rgba(255, 255, 100, 0.4)
- entity: ''
name: Now
yaxis: y9
showlegend: false
line:
width: 1
dash: dot
color: deepskyblue
x: $ex [Date.now(), Date.now()]
'y':
- 0
- 1
Thanks
EDIT : One more question Does plotty handle leap year ? Everything is one day shift …
EDIT 2 :
On July, plotty on month view do not detect any data ( only green bar ). Why ?