-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
I'm facing a specific use-case:
I am using a time which i want to display in minutes, but in order to keep the animation smooth I need to use the time as seconds (e.g: with max=1m i'd like to display 60 ticks).
In order to do this I've set label-only=true and i am updating the label with something like this:
minutes = Math.ceil(seconds / 60);
label = '${minutes} m';
Currently the way to make this work is to:
- give the gauge an id
- let gauge = document.getElementById(id);
- get child
<b>fromgauge - change
<b>'s innerhtml
Metadata
Metadata
Assignees
Labels
No labels