Is it possible to use multiple colors (four) in the 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 David on 9th May 2016
I am using the Meter example from and would like to use 4 colors instead of just 3 (green, yellow, red). Is this possible?

Thanks in advance!
Posted by Richard on 9th May 2016

Yes, you can use the colorsRanges option:

obj.set('colors.ranges', [
     [0, 60, 'green'],
     [60, 80 'yellow'],
     [80, 100, 'red']


Add a reply

« Back to message list