Hauptmenü

X-Achse bei SVG Plot Tag

Begonnen von franky08, 17 Oktober 2013, 10:21:51

Vorheriges Thema - Nächstes Thema

franky08

Hallo,
ich habe nun schon eine ganze Weile im Wiki und der commandref gelesen, aber irgendwie bekomme ich bei einem SVG Plot die x-Achse nicht auf Tag eingestellt. Hintergrund ist das die Average Werte der Gartentemperatur Tagweise (max/min) im Plot (als Balken) dargestellt werden sollen.
Es sollen jeweils die Tageshöchst-und Tiefsttemperatur für jeden Tag im Jahr dargestellt werden.
In der Def. von SVG finde ich nichts um die x-Achse von Zeit auf Tag umzustellen.

Kann mir da jemand einen helfenden Tip geben?

VG Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

betateilchen

Das Attribut fixedrange (siehe commandref zu SVG) könnte Dir vielleicht weiterhelfen.

Zitat
fixedrange
Contains two time specs in the form YYYY-MM-DD separated by a space. In plotmode gnuplot-scroll or SVG the given time-range will be used, and no scrolling for this weblinks will be possible. Needed e.g. for looking at last-years data without scrolling.

If the value is one of day, week, month, year than set the zoom level for this weblink independently of the user specified zoom-level. This is useful for pages with multiple plots: one of the plots is best viewed in with the default (day) zoom, the other one with a week zoom.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

franky08

@betateilchen
Genau das war´s.
attr <Plotname> fixedrange month

Danke

VG Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...