From fff185c682a788b24b37312e35b40d4b84464d3f Mon Sep 17 00:00:00 2001 From: martinhaas <> Date: Wed, 5 Sep 2007 20:05:39 +0000 Subject: [PATCH] gnuplot is now drawing FHT-Data without actuator or desired-temp too git-svn-id: https://svn.fhem.de/fhem/trunk@88 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm3/CHANGED | 3 +++ fhem/webfrontend/pgm3/HISTORY | 5 +++++ fhem/webfrontend/pgm3/include/gnuplot.php | 26 ++++++++++++++++++++++- 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/fhem/webfrontend/pgm3/CHANGED b/fhem/webfrontend/pgm3/CHANGED index 1df224152..97500c863 100644 --- a/fhem/webfrontend/pgm3/CHANGED +++ b/fhem/webfrontend/pgm3/CHANGED @@ -120,3 +120,6 @@ Changelog -- bugfix: HMS100WD is now aligned with other HMS-Devices -- feature: Now there is a warning if there are not sufficient data to draw a gnuplot graph -- feature: more information about new HMS-Devices + +2007-09-05 (cvs) +-- feature: gnuplot pictures of FHT without all data (actuator, desired-temp) are shown with only measured temp diff --git a/fhem/webfrontend/pgm3/HISTORY b/fhem/webfrontend/pgm3/HISTORY index e196843f2..b70fbb874 100644 --- a/fhem/webfrontend/pgm3/HISTORY +++ b/fhem/webfrontend/pgm3/HISTORY @@ -22,3 +22,8 @@ - Martin 2007-09-04 - Small changes in gnuplot.php, config.php, index.php, hms100.php + +- Martin 2007-09-05 + - Change in gnuplot.php: FHT: if there are not sufficient data (e.g. actuator) only measured-temp will be drawn + + diff --git a/fhem/webfrontend/pgm3/include/gnuplot.php b/fhem/webfrontend/pgm3/include/gnuplot.php index b79c8730d..74ed5773e 100644 --- a/fhem/webfrontend/pgm3/include/gnuplot.php +++ b/fhem/webfrontend/pgm3/include/gnuplot.php @@ -78,6 +78,10 @@ EOD; set y2label 'Actuator (%)' set y2range [$FHTy2range] "; + $gplotmain2=" + set ylabel 'Temperature (Celsius)' + set grid ytics + "; $gplotmaintmp = <<