mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 04:36:45 +00:00
Added precision 0 to charts, to avoid having decimals
This commit is contained in:
@@ -79,7 +79,7 @@ const renderGraph = (title, isBarChart, stats, max, highlightedStats, onClick) =
|
||||
scales: isBarChart && {
|
||||
xAxes: [
|
||||
{
|
||||
ticks: { beginAtZero: true, max },
|
||||
ticks: { beginAtZero: true, precision: 0, max },
|
||||
stacked: true,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user