How to control scale range on HProgress, HBar, and Rose


« 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 wallingd on 24th January 2013
On VProgress, the instantiation call includes a variable to set the maximum value of the scale (e.g. 100).

However, HProgress, HBar, and Rose do not have this variable and I can't find a property to set. The scale max value appears to be automatically set.

Having a particular maximum value on the scale is absolutely critical in order to visually communicate performance/progress. Am I overlooking something? How can I set scale maximum for these other graph types.

Thanks for a great library overall.

-wallingd
Posted by RGraph support on 24th January 2013
Hi,

With the HProgress it's the same as the VProgress - I've updated these two demos to show it:

dev.rgraph.net/demos/hprogress01.html
dev.rgraph.net/demos/hprogress02.html

With the HBar you can set the chart.xmax property, and with the Rose you can set the chart.ymax property.

PS Could you link to the RGraph website - thanks.

Richard, RGraph Support

Add a reply

 




« Back to message list
RGraph on social media