Bars für Stromverbrauch erstellen (Bars nebeneinander für Devices)

Begonnen von flipse, 06 Mai 2019, 13:11:05

Vorheriges Thema - Nächstes Thema

flipse

Hallo zusammen,

ich möchte mir eine Übersicht über unsere Stromverbraucher verschaffen.
Das möchte ich in einem Plot darstellen.
Die Darstellung soll monatlich angezeigt werden (jeder Tag X-Bars, x=Anzahl Devices).

Leider werden meine Bars überlagert dargestellt.
Kann mir jemand helfen, wie ich diese nebeneinander darstellen lassen kann?


# Created by FHEM/98_SVG.pm, 2019-05-06 13:05:09
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title 'Stromverbrauch'
set ytics
set y2tics
set grid
set ylabel "kWh"
set y2label "kWh"

#FileLog_Elect_LWZ 3:LWZ_Verbrauch.E_Heizung_Heiz_Tag_Berechnet\x3a::
#FileLog_Elect_LWZ 3:LWZ_Verbrauch.E_Heizung_WW_Tag_Berechnet\x3a::
#FileLog_ZWave_WP_Datenschrank 4:ZWave_WP_Datenschrank.energy\x3a::delta-d
#FileLog_ZWave_WP_Schreibtisch 4:ZWave_WP_Schreibtisch.energy\x3a::delta-d
#FileLog_ZWave_WP_WaMa 4:ZWave_WP_WaMa.energy\x3a::delta-d
#FileLog_Elect_Day :

plot "<IN>" using 1:2 axes x1y2 title 'Heizung' ls l0fill lw 1 with bars,\
     "<IN>" using 1:2 axes x1y2 title 'Warmwasser' ls l1fill lw 1 with bars,\
     "<IN>" using 1:2 axes x1y2 title 'Datenschrank' ls l4fill lw 1 with bars,\
     "<IN>" using 1:2 axes x1y2 title 'Schreibtisch' ls l2fill lw 1 with bars,\
     "<IN>" using 1:2 axes x1y2 title 'WaMa' ls l0 lw 1 with bars,\
     "<IN>" using 1:2 axes x1y2 title 'Trockner' ls l3fill lw 1 with bars



Vielen Dank schon mal.