]> source.dussan.org Git - redmine.git/commitdiff
Merged r22139 from trunk to 5.0-stable (#38359).
authorGo MAEDA <maeda@farend.jp>
Wed, 22 Mar 2023 03:18:32 +0000 (03:18 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 22 Mar 2023 03:18:32 +0000 (03:18 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22140 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/reports/_details.html.erb
app/views/repositories/stats.html.erb

index 3361117fcd3e5081d9010aeb7c5a6a8088beab43..0b42bb0a7b3c40be0dc3bd9ccace768b5955e2cb 100644 (file)
@@ -58,7 +58,7 @@
         },
         scales: {
           yAxis: {stacked: true},
-          xAxis: {stacked: true}
+          xAxis: {stacked: true, ticks: {precision: 0}}
         }
       }
     });
index 5266dc2620c8ecc635f78258f5bc08a5f6b91be5..e4adae0cd4497bedc97c554c50f93bd1406d4cc2 100644 (file)
@@ -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}}
         }
       }
     });