Can you set the start value for the VProgress grow effect?


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Othmar on 28th December 2016
Hi Richard

The past questions are solved now. So i have another one. :-)

Is it possible to set a start value for the grow value.
I have a vertical progress bar with a min value of 950 and a max value of 1050 (air pressure)
The grow will not work properly. (very quick and starts below the bottom.
jsfiddle.net/a63krdcy/1/

Thanyk you and best Regards,
Othmar
Posted by Richard on 28th December 2016
Hi there,

You can do this:


var progress = new RGraph.VProgress({
     id: "cvs",
     min: 950,
     max: 1050,
     value: 1003,
     options: {
     }
});

progress.currentValue = 950;

progress.grow();








Richard

Add a reply

 




« Back to message list
RGraph on social media