Meter chart labels


« 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 Larry Mahar on 28th August 2015
I am having an issue with the parameter "labelsNumber" for the Meter chart. It doesn't seem to matter what I use for the value of this parameter, it always draws 11 labels. What am I doing wrong? Also, how do I get the labels to not draw on top of the color bars?

Sample below:

www.myglucohealth.net/telstra/oxChart.html

Thanks!
Posted by Richard on 28th August 2015
Hi,

There is no labelsNumber option - do you mean to use labelsCount ?

And for the labels size issue you could try the textValign option or there's always the option of slightly reduce the size of the text with the textSize option. Or maybe turn the border off with the strokestyle and tickmarks options - like the Meter chart on this page:

www.rgraph.net/examples/meters-and-gauge-charts.html

>>>>>>>>>>>>

strokestyle: 'white',
border: 0,
tickmarksSmallNum: 0,
tickmarksBigNum: 0,

<<<<<<<<<<<

Richard

Add a reply

 




« Back to message list
RGraph on social media