How do I control the number of labels shown on a Meter chart?

« 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 1st January 2016
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:

Posted by Richard on 1st January 2016

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.


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



Add a reply

« Back to message list