summaryrefslogtreecommitdiff
path: root/src/client/scripts/aoiscript
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-04-19 16:09:57 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-04-19 16:09:57 +0900
commite790af566c31ff5e3fcf6dda40efa9eb39f0c52e (patch)
tree09294899fd7282eb0ef1370e296b7404d048548d /src/client/scripts/aoiscript
parentfeat(pages): Improve chart (diff)
downloadsharkey-e790af566c31ff5e3fcf6dda40efa9eb39f0c52e.tar.gz
sharkey-e790af566c31ff5e3fcf6dda40efa9eb39f0c52e.tar.bz2
sharkey-e790af566c31ff5e3fcf6dda40efa9eb39f0c52e.zip
chore: :art:
Diffstat (limited to 'src/client/scripts/aoiscript')
-rw-r--r--src/client/scripts/aoiscript/evaluator.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/scripts/aoiscript/evaluator.ts b/src/client/scripts/aoiscript/evaluator.ts
index b7b141e675..c88b19da35 100644
--- a/src/client/scripts/aoiscript/evaluator.ts
+++ b/src/client/scripts/aoiscript/evaluator.ts
@@ -100,7 +100,8 @@ export class ASEvaluator {
responsive: false,
title: {
display: opts.value.has('title'),
- text: opts.value.has('title') ? opts.value.get('title').value : ''
+ text: opts.value.has('title') ? opts.value.get('title').value : '',
+ fontSize: 14,
},
layout: {
padding: {
@@ -128,6 +129,9 @@ export class ASEvaluator {
ticks: {
min: opts.value.has('min') ? opts.value.get('min').value : undefined,
max: opts.value.has('max') ? opts.value.get('max').value : undefined,
+ },
+ pointLabels: {
+ fontSize: 12
}
}
} : {