vue-highstock
highstock (or highcharts) component for vue2
Install
npm install vue-highstock
Usage in Vue component
<high-stock :options="options" :key="options.title.text"></high-stock>
- options see Highcharts/highstock DOC https://api.highcharts.com/highstock/
- use :key to active Realtime-render
import highstock from 'highcharts/highstock'
import vueHightstock from 'vue-highstock'
export default {
components: {
highStock: vueHightstock(highstock, {
// highstock global options here
})
}
}