chore: 🎨

This commit is contained in:
syuilo 2020-04-19 16:09:57 +09:00
parent 43fe0cd62e
commit e790af566c

View file

@ -100,7 +100,8 @@ export class ASEvaluator {
responsive: false, responsive: false,
title: { title: {
display: opts.value.has('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: { layout: {
padding: { padding: {
@ -128,6 +129,9 @@ export class ASEvaluator {
ticks: { ticks: {
min: opts.value.has('min') ? opts.value.get('min').value : undefined, min: opts.value.has('min') ? opts.value.get('min').value : undefined,
max: opts.value.has('max') ? opts.value.get('max').value : undefined, max: opts.value.has('max') ? opts.value.get('max').value : undefined,
},
pointLabels: {
fontSize: 12
} }
} }
} : { } : {