mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
Update helper_stats_graphs.yaml
This commit is contained in:
6
.github/workflows/helper_stats_graphs.yaml
vendored
6
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -180,6 +180,7 @@ jobs:
|
|||||||
print str
|
print str
|
||||||
}
|
}
|
||||||
}' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp
|
}' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp
|
||||||
|
cd $FOLDER || true
|
||||||
# Plot graph
|
# Plot graph
|
||||||
( gnuplot-nox -persist <<-EOFMarker
|
( gnuplot-nox -persist <<-EOFMarker
|
||||||
set title "$TITLE"
|
set title "$TITLE"
|
||||||
@@ -191,7 +192,7 @@ jobs:
|
|||||||
set datafile sep ' '
|
set datafile sep ' '
|
||||||
set autoscale
|
set autoscale
|
||||||
set terminal png size 500,300
|
set terminal png size 500,300
|
||||||
set output "$FOLDER/stats.png"
|
set output "stats.png"
|
||||||
set term png tiny
|
set term png tiny
|
||||||
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth csplines
|
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth csplines
|
||||||
EOFMarker
|
EOFMarker
|
||||||
@@ -205,11 +206,12 @@ jobs:
|
|||||||
set datafile sep ' '
|
set datafile sep ' '
|
||||||
set autoscale
|
set autoscale
|
||||||
set terminal png size 500,300
|
set terminal png size 500,300
|
||||||
set output "$FOLDER/stats.png"
|
set output "stats.png"
|
||||||
set term png tiny
|
set term png tiny
|
||||||
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i)
|
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i)
|
||||||
EOFMarker
|
EOFMarker
|
||||||
)
|
)
|
||||||
|
cd .. || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Clean files
|
# Clean files
|
||||||
|
|||||||
Reference in New Issue
Block a user