Patch #38359 » 0001-Render-numeric-axis-in-charts-as-integers.patch
| app/views/reports/_details.html.erb | ||
|---|---|---|
|
},
|
||
|
scales: {
|
||
|
yAxis: {stacked: true},
|
||
|
xAxis: {stacked: true}
|
||
|
xAxis: {stacked: true, ticks: {precision: 0}}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
| app/views/repositories/stats.html.erb | ||
|---|---|---|
|
display: true,
|
||
|
text: <%= raw l(:label_commits_per_month).to_json %>
|
||
|
}
|
||
|
},
|
||
|
scales: {
|
||
|
yAxis: {ticks: {precision: 0}}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
| ... | ... | |
|
display: true,
|
||
|
text: <%= raw l(:label_commits_per_author).to_json %>
|
||
|
}
|
||
|
},
|
||
|
scales: {
|
||
|
xAxis: {ticks: {precision: 0}}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
- « Previous
- 1
- 2
- 3
- Next »