A Powerful and Highspeed Chart Parser for Vue.
The dist folder contains
vue-chart.jsandvue-chart.min.jswith the component exported in thewindow.VueChartobject.
<body>
  <vue-chart type="line" :data="myData" :options="myOptions"></vue-chart>
</body>
<script src="path/to/vue.js"></script>
<script src="path/to/vue-chart.js"></script>
<script>
    var vm = new Vue({
        el: "body",
         components: {
            VueChart
          }
    });
</script>var VueChart = require('vue-chart');
new Vue({
  components: {
    'vue-chart': VueChart
  }
})// <script src="dist/vue-chart.js"></script>
new Vue({
  components: {
    VueChart
  }
})import VueChart from 'vue-chart'
new Vue({
  components: {
    VueChart
  }
})| Prop | Type | Default | 
|---|---|---|
| type | String | type="line" | 
| data | Object | DOCS | 
| options | Object | DOCS |