superman66 / vue-highcharts

The Component of Vue 2.x for highcharts
https://codesandbox.io/s/jjyqvv0k13
MIT License
115 stars 48 forks source link

Missing(?) Highcharts methods #5

Closed realcheese closed 6 years ago

realcheese commented 7 years ago

Please correct me if I am wrong but I am trying to use some of Highcharts methods such as update() but I receive an error message that it is undefined. I'm also unable to access the series property (I want to use setData()).

I've tried addSeries() and it works. It seems like VueHighcharts.vue contains a small # of the methods listed in Highcharts API. If I need to use these methods, what is the best way for me to do so? Should I update my VueHighcharts.vue file?

Thank you.

superman66 commented 7 years ago

if you want to use some of Highcharts methods, you can try delegateMethod(). such as update(), you can use delegateMethod('update').

realcheese commented 7 years ago

Thanks I'll give it a shot!


From: Superman notifications@github.com Sent: Wednesday, May 3, 2017 6:22:23 PM To: superman66/vue-highcharts Cc: Jason Pham; Author Subject: Re: [superman66/vue-highcharts] Missing(?) Highcharts methods (#5)

if you want to use some of Highcharts methods, you can try delegateMethod(). such as update(), you can use delegateMethod('update').

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/superman66/vue-highcharts/issues/5#issuecomment-299077921, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APG0z1cQU0kYGZSqcXFcYYqAyFy0_7HOks5r2ShPgaJpZM4NPuId.