summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-03-22 03:18:32 +0000
committerGo MAEDA <maeda@farend.jp>2023-03-22 03:18:32 +0000
commitf5a392a25560a05e674c47631245b344de69dd91 (patch)
tree6059df335acdcb8baf1df7b7598f2213100ddbc6 /app/views
parentf79f75c62aa923c93b128383955d48087cfeeed3 (diff)
downloadredmine-f5a392a25560a05e674c47631245b344de69dd91.tar.gz
redmine-f5a392a25560a05e674c47631245b344de69dd91.zip
Merged r22139 from trunk to 5.0-stable (#38359).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22140 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/reports/_details.html.erb2
-rw-r--r--app/views/repositories/stats.html.erb6
2 files changed, 7 insertions, 1 deletions
diff --git a/app/views/reports/_details.html.erb b/app/views/reports/_details.html.erb
index 3361117fc..0b42bb0a7 100644
--- a/app/views/reports/_details.html.erb
+++ b/app/views/reports/_details.html.erb
@@ -58,7 +58,7 @@
},
scales: {
yAxis: {stacked: true},
- xAxis: {stacked: true}
+ xAxis: {stacked: true, ticks: {precision: 0}}
}
}
});
diff --git a/app/views/repositories/stats.html.erb b/app/views/repositories/stats.html.erb
index 5266dc262..e4adae0cd 100644
--- a/app/views/repositories/stats.html.erb
+++ b/app/views/repositories/stats.html.erb
@@ -45,6 +45,9 @@ $(document).ready(function(){
display: true,
text: <%= raw l(:label_commits_per_month).to_json %>
}
+ },
+ scales: {
+ yAxis: {ticks: {precision: 0}}
}
}
});
@@ -86,6 +89,9 @@ $(document).ready(function(){
display: true,
text: <%= raw l(:label_commits_per_author).to_json %>
}
+ },
+ scales: {
+ xAxis: {ticks: {precision: 0}}
}
}
});