-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to updateNeedle not working #1
Comments
I am able to make this work using this. But it remove the whole point of using this library. Because the library is not exposing the updateNeedles to parent. I am end up referencing GaugeChart object myself
We can force re-render and re-init gaugeChart to updateNeedle using v-if too. |
any clean version to achive this |
@vano20 what is this.config here ? |
I'm referring to this vanilla gaugeChart config |
Hi,
I want to build a component but having trouble to dynamically update the needle value. Gauge-chart states this needs to be done via the updateNeedle function with the example:
Here is my code. It all happens in the watch->gaugeValue. I tried all the lines in there but with no success.
It is done like this because eventually the needle value will come from a $store. For the test a 4 second interval is implemented to change the needle value by 10 every time.
Is there someone who can point me in the right direction?
Regards,
Dirk
The text was updated successfully, but these errors were encountered: