mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00: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:
parent
8cbc71c1b6
commit
fe386d1497
@ -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}}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user