mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-16 04:19:13 +02:00
Update weekly_stats_graphs.yaml
This commit is contained in:
20
.github/workflows/weekly_stats_graphs.yaml
vendored
20
.github/workflows/weekly_stats_graphs.yaml
vendored
@@ -203,25 +203,7 @@ jobs:
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
done < "$input"
|
done < "$input"
|
||||||
|
# Clean files
|
||||||
# Plot graph
|
|
||||||
(
|
|
||||||
) || ( gnuplot-nox -persist <<-EOFMarker
|
|
||||||
set title 'Top 10 addons'
|
|
||||||
set ylabel 'Number of installations'
|
|
||||||
set xdata time
|
|
||||||
set datafile missing "-"
|
|
||||||
set timefmt "%Y-%m-%d"
|
|
||||||
set format x "%y-%m-%d"
|
|
||||||
set datafile sep ' '
|
|
||||||
set autoscale
|
|
||||||
set terminal png size 500,300
|
|
||||||
set output 'stats_addons.png'
|
|
||||||
set term png tiny
|
|
||||||
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i)
|
|
||||||
EOFMarker
|
|
||||||
)
|
|
||||||
#plot for [i=1:*] 'Stats3' using 0:i
|
|
||||||
rm Stats3
|
rm Stats3
|
||||||
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
|
|||||||
Reference in New Issue
Block a user