Skip to content
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

Refresh Justgage with new setting , e.g new Custom Sector ??? #324

Closed
coidien opened this issue Nov 28, 2018 · 1 comment
Closed

Refresh Justgage with new setting , e.g new Custom Sector ??? #324

coidien opened this issue Nov 28, 2018 · 1 comment

Comments

@coidien
Copy link

coidien commented Nov 28, 2018

Hi everyone,
Is there a way to refresh justgage with new custom Sector. I can only found refresh with new maximum like: g.refresh(new value, new maximum).
In my Page there is 4 button for 4 Mode and each Mode has own Setting (Max, Min and Custom Sector) for Justgage. And when button is clicked, gauge with own Setting appear.

Do anyone know how to do this ?

@robertsLando
Copy link
Collaborator

ATM the only way to do this is by destroy and recreate a new gauge when customSector changes, in next release we will implement #241 that will allow you to do this kind of things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants