mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Merge pull request #384 from styd/remove-decimals-in-bar-chart-y-axis
Remove decimals in bar chart y-axis
This commit is contained in:
commit
e2a468b356
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ export default function BarChart({
|
|||
options.scales.xAxes[0].ticks.callback = renderXLabel;
|
||||
options.scales.xAxes[0].ticks.fontColor = colors.text;
|
||||
options.scales.yAxes[0].ticks.fontColor = colors.text;
|
||||
options.scales.yAxes[0].ticks.precision = 0;
|
||||
options.scales.yAxes[0].gridLines.color = colors.line;
|
||||
options.scales.yAxes[0].gridLines.zeroLineColor = colors.zeroLine;
|
||||
options.animation.duration = animationDuration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue