Project

General

Profile

Patch #38359 » 0001-Render-numeric-axis-in-charts-as-integers.patch

Holger Just, 2023-03-15 14:42

View differences:

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}}
}
}
});
(3-3/3)