You can create a line chart with the module vue charts (VueCharts). VueCharts is a Google Charts plugin for Vue.js.
In this example we create a line chart, but many types of charts can be created.
The example below creates a line chart using VueCharts. The final result will look like the chart below:
You can make this with a single html file.
<script src='//unpkg.com/[email protected]/dist/vue-chartjs.full.min.js'>script>
It is mandatory to bind the chart to the data, that is done with this line:
<chartjs-line :labels="labels" :data="dataset" :bind="true">chartjs-line>
The full code below: