mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 18:11:29 +02:00
Update helper_stats_graphs.yaml
This commit is contained in:
10
.github/workflows/helper_stats_graphs.yaml
vendored
10
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -64,7 +64,7 @@ jobs:
|
|||||||
# Remove series with less than 4 points
|
# Remove series with less than 4 points
|
||||||
sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3
|
sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3
|
||||||
# Plot graph
|
# Plot graph
|
||||||
( gnuplot-nox -persist <<-EOFMarker
|
( gnuplot -persist <<-EOFMarker
|
||||||
set title 'Top 10 addons'
|
set title 'Top 10 addons'
|
||||||
set ylabel 'Number of installations'
|
set ylabel 'Number of installations'
|
||||||
set xdata time
|
set xdata time
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
set term png tiny
|
set term png tiny
|
||||||
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth bezier
|
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth bezier
|
||||||
EOFMarker
|
EOFMarker
|
||||||
) || ( gnuplot-nox -persist <<-EOFMarker
|
) || ( gnuplot -persist <<-EOFMarker
|
||||||
set title 'Top 10 addons'
|
set title 'Top 10 addons'
|
||||||
set ylabel 'Number of installations'
|
set ylabel 'Number of installations'
|
||||||
set xdata time
|
set xdata time
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
#Normalize data
|
#Normalize data
|
||||||
#awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
|
#awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
|
||||||
# Plot graph
|
# Plot graph
|
||||||
( gnuplot-nox -persist <<-EOFMarker
|
( gnuplot -persist <<-EOFMarker
|
||||||
set title "$TITLE"
|
set title "$TITLE"
|
||||||
set ylabel 'Number of installations'
|
set ylabel 'Number of installations'
|
||||||
set xdata time
|
set xdata time
|
||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
set term png tiny
|
set term png tiny
|
||||||
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier
|
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier
|
||||||
EOFMarker
|
EOFMarker
|
||||||
) || ( gnuplot-nox -persist <<-EOFMarker
|
) || ( gnuplot -persist <<-EOFMarker
|
||||||
set title "$TITLE"
|
set title "$TITLE"
|
||||||
set ylabel 'Number of installations'
|
set ylabel 'Number of installations'
|
||||||
set xdata time
|
set xdata time
|
||||||
@@ -203,7 +203,7 @@ jobs:
|
|||||||
cd .github || true
|
cd .github || true
|
||||||
sed -i "1d" Stats3
|
sed -i "1d" Stats3
|
||||||
# Plot graph
|
# Plot graph
|
||||||
gnuplot-nox -persist <<-EOFMarker
|
gnuplot -persist <<-EOFMarker
|
||||||
set title 'Total addons'
|
set title 'Total addons'
|
||||||
set ylabel 'Number of installations'
|
set ylabel 'Number of installations'
|
||||||
set xdata time
|
set xdata time
|
||||||
|
|||||||
Reference in New Issue
Block a user