Last active
November 9, 2019 16:38
-
-
Save tajuszk/d77f200a12a069a7e35ed0bbd0189416 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Bar } from 'vue-chartjs' | |
export default { | |
extends: Bar, | |
props: ['chartData', 'options'], // propsに chartData と options を定義 | |
mounted () { | |
this.renderChart(this.chartData, this.options) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment