mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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
|
||||
sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3
|
||||
# Plot graph
|
||||
( gnuplot-nox -persist <<-EOFMarker
|
||||
( gnuplot -persist <<-EOFMarker
|
||||
set title 'Top 10 addons'
|
||||
set ylabel 'Number of installations'
|
||||
set xdata time
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
set term png tiny
|
||||
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth bezier
|
||||
EOFMarker
|
||||
) || ( gnuplot-nox -persist <<-EOFMarker
|
||||
) || ( gnuplot -persist <<-EOFMarker
|
||||
set title 'Top 10 addons'
|
||||
set ylabel 'Number of installations'
|
||||
set xdata time
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
#Normalize data
|
||||
#awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
|
||||
# Plot graph
|
||||
( gnuplot-nox -persist <<-EOFMarker
|
||||
( gnuplot -persist <<-EOFMarker
|
||||
set title "$TITLE"
|
||||
set ylabel 'Number of installations'
|
||||
set xdata time
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
set term png tiny
|
||||
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier
|
||||
EOFMarker
|
||||
) || ( gnuplot-nox -persist <<-EOFMarker
|
||||
) || ( gnuplot -persist <<-EOFMarker
|
||||
set title "$TITLE"
|
||||
set ylabel 'Number of installations'
|
||||
set xdata time
|
||||
@@ -203,7 +203,7 @@ jobs:
|
||||
cd .github || true
|
||||
sed -i "1d" Stats3
|
||||
# Plot graph
|
||||
gnuplot-nox -persist <<-EOFMarker
|
||||
gnuplot -persist <<-EOFMarker
|
||||
set title 'Total addons'
|
||||
set ylabel 'Number of installations'
|
||||
set xdata time
|
||||
|
||||
Reference in New Issue
Block a user