make grid lines more visible on graphs

This commit is contained in:
Lee 2023-11-05 13:40:51 +00:00
parent 59c3b7a421
commit 3967ea76e0
2 changed files with 16 additions and 0 deletions

@ -43,11 +43,19 @@ export const options: any = {
maxTicksLimit: 8, maxTicksLimit: 8,
stepSize: 1, stepSize: 1,
}, },
grid: {
// gray grid lines
color: "#252525",
},
}, },
x: { x: {
ticks: { ticks: {
autoSkip: true, autoSkip: true,
}, },
grid: {
// gray grid lines
color: "#252525",
},
}, },
}, },
elements: { elements: {

@ -41,12 +41,20 @@ export const options: any = {
maxTicksLimit: 8, maxTicksLimit: 8,
stepSize: 1, stepSize: 1,
}, },
grid: {
// gray grid lines
color: "#252525",
},
reverse: true, reverse: true,
}, },
x: { x: {
ticks: { ticks: {
autoSkip: true, autoSkip: true,
}, },
grid: {
// gray grid lines
color: "#252525",
},
}, },
}, },
elements: { elements: {