mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 01:09:14 +02:00
Render numeric axis in charts as integers (#38359).
Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22139 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
},
|
||||
scales: {
|
||||
yAxis: {stacked: true},
|
||||
xAxis: {stacked: true}
|
||||
xAxis: {stacked: true, ticks: {precision: 0}}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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}}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user