1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00
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: [{