This commit is contained in:
syuilo 2018-08-24 07:02:52 +09:00
parent fa3299840f
commit 92cf205c66
2 changed files with 3 additions and 1 deletions

View file

@ -150,6 +150,7 @@
"loader-utils": "1.1.0",
"lodash.assign": "4.2.0",
"mecab-async": "0.1.2",
"merge-options": "1.0.1",
"minio": "7.0.0",
"mkdirp": "0.5.1",
"mocha": "5.2.0",

View file

@ -1,5 +1,6 @@
import Vue from 'vue';
import { Line } from 'vue-chartjs';
import * as mergeOptions from 'merge-options';
export default Vue.extend({
extends: Line,
@ -21,7 +22,7 @@ export default Vue.extend({
},
methods: {
render() {
this.renderChart(this.data, Object.assign({
this.renderChart(this.data, mergeOptions({
responsive: false,
scales: {
xAxes: [{