3👍
Indeed, the highcharts-vue
package supports all official modules included in Highcharts, so it’s not necessary to produce every demo from demos site using Vue wrapper. I made the examples with gauge
and heatmap
series specially for you, so please take a look on them.
I will also need to use Charts appendData prototype to make a line chart real-time. Is this possible using the wrapper?
A component is watching for changes on provided chart configuration, so if you will update your data (e.g by pushing new points into a series.data
), then highcharts-vue
will detect it, and automatically update the chart. That’s the most recommended way of implementation. If you would like to use some Chart
‘s or Series
prototype functions, of course you can do that, but please note that causes inconsistency between the chart data and the data defined within component. Just need to access chart’s reference like it is described in Chart object reference section.
Live examples:
https://codesandbox.io/s/vue-template-uqu1p (Gauge),
https://codesandbox.io/s/vue-template-8z2f5 (Heatmap)