From d44a7e025293143f4f9be692198bbfd0329b0c7a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:21:10 +0100 Subject: [PATCH] Update helper_stats_graphs.yaml --- .github/workflows/helper_stats_graphs.yaml | 62 +++++++++++----------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/helper_stats_graphs.yaml b/.github/workflows/helper_stats_graphs.yaml index 24cbe4a79..cd218abdb 100644 --- a/.github/workflows/helper_stats_graphs.yaml +++ b/.github/workflows/helper_stats_graphs.yaml @@ -109,7 +109,7 @@ jobs: echo "... done" # Remove series with less than 4 points sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3 - # Plot graph + # Plot graph ( gnuplot-nox -persist <<-EOFMarker set title 'Top 10 addons' set ylabel 'Number of installations' @@ -174,36 +174,36 @@ jobs: # if folder exists if [ -d "$FOLDER" ]; then echo "$TITLE" - # Plot graph - ( gnuplot-nox -persist <<-EOFMarker - set title "$TITLE" - 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 "$FOLDER/stats.png" - set term png tiny - plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth csplines - EOFMarker - ) || ( gnuplot-nox -persist <<-EOFMarker - set title "$TITLE" - 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 "$FOLDER/stats.png" - set term png tiny - plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) - EOFMarker - ) + # Plot graph + ( gnuplot-nox -persist <<-EOFMarker + set title "$TITLE" + 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 "$FOLDER/stats.png" + set term png tiny + plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth csplines + EOFMarker + ) || ( gnuplot-nox -persist <<-EOFMarker + set title "$TITLE" + 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 "$FOLDER/stats.png" + set term png tiny + plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) + EOFMarker + ) fi done # Clean files