📜  vue chart nuxt - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:16.036000             🧑  作者: Mango

代码示例2
import { Bar } from 'vue-chartjs'

export default {
  extends: Bar,
  props: ['data', 'options'],
  mounted () {
    this.renderChart(this.data, this.options)
  }
}