Skip to content

Commit 3719653

Browse files
committed
Adjust chart axis grace
1 parent 7ba0c81 commit 3719653

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/ChartContainer.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ export default function ChartContainer({
315315
min: xRange.min,
316316
max: xRange.max,
317317
bounds: 'data',
318-
grace: '2%',
319318
ticks: {
320319
callback: function (value) {
321320
return Math.round(value);
@@ -327,7 +326,7 @@ export default function ChartContainer({
327326
display: true,
328327
title: { display: true, text: 'Value' },
329328
bounds: 'data',
330-
grace: '5%',
329+
grace: '20%',
331330
ticks: {
332331
callback: function (value) {
333332
return Number(value.toPrecision(2));

0 commit comments

Comments
 (0)