From 6171f27f8ddfda71c4101a5802a097b8832e2c42 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Oct 2021 01:04:29 +0900 Subject: [PATCH] :art: --- src/client/components/queue-chart.vue | 14 ++++++++++++-- src/client/scripts/hpml/lib.ts | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/client/components/queue-chart.vue b/src/client/components/queue-chart.vue index 596270880..59c9723f8 100644 --- a/src/client/components/queue-chart.vue +++ b/src/client/components/queue-chart.vue @@ -121,10 +121,20 @@ export default defineComponent({ }, scales: { x: { - + grid: { + display: false, + color: gridColor, + borderColor: 'rgb(0, 0, 0, 0)', + }, + ticks: { + display: false, + }, }, y: { - + grid: { + color: gridColor, + borderColor: 'rgb(0, 0, 0, 0)', + }, }, }, interaction: { diff --git a/src/client/scripts/hpml/lib.ts b/src/client/scripts/hpml/lib.ts index 200faf820..2a1ac73a4 100644 --- a/src/client/scripts/hpml/lib.ts +++ b/src/client/scripts/hpml/lib.ts @@ -5,7 +5,7 @@ import { Fn, HpmlScope } from '.'; import { Expr } from './expr'; import * as seedrandom from 'seedrandom'; -/* +/* TODO: https://www.chartjs.org/docs/latest/configuration/canvas-background.html#color // https://stackoverflow.com/questions/38493564/chart-area-background-color-chartjs Chart.pluginService.register({ beforeDraw: (chart, easing) => {