gibt es eine Möglichkeit in fhem plots die Messpunkte im Graph mit Zahlenwerten zu beschriften? ich würde gerne in meinem jahresgraph mit den gasverbrauchswerten pro monat jeweils die monatsverbrauchswerte im graph als zahl neben dem messpunkt dargestellt haben...
gnuplot kann labels im Prinzip:
set label {<tag>} {"<label text>"} {at <position>}
{left | center | right}
{norotate | rotate {by <degrees>}}
{font "<name>{,<size>}"}
{noenhanced}
{front | back}
{textcolor <colorspec>}
{point <pointstyle> | nopoint}
{offset <offset>}
auf
http://stackoverflow.com/questions/23177716/in-gnuplot-how-to-label-each-point-in-the-plot-with-its-coordinates (http://stackoverflow.com/questions/23177716/in-gnuplot-how-to-label-each-point-in-the-plot-with-its-coordinates) gibt es noch ein beispiel:
plot 'abc.dat' using 1:2:(sprintf("(%d, %d)", $1, $2)) with labels notitle
aber in meinem graph sind das steps und mit folgendem code im fhem gnuplot file klappt es nicht:
plot "<IN>" using 1:2:(sprintf("%d", $2)) axes x1y1 title 'Monatsstromverbrauch dieses Jahr [kwh]' ls l0 lw 1 with labels steps,\
"<IN>" using 1:2 axes x1y2 title 'Kosten' ls l1 lw 1 with steps
jemand eine idee
fhem kann das nicht direkt. bzw. nicht wenn du svg plots verwendest. eventuell wenn du gnuplot verwendest. aber das ist in fhem deprecated.
mit logProxy und einer postFn kannst du zu zu plattenden daten zeilen der art;m <x> <y> <alignment> <text>
hinzufügen. das zeichnen einen kleinen punkt mit text in den plot.
gruss
andre