Threshold and color of a Line 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 tonyo on 21st May 2013
Hi,

I would like know how i can have 2 different color on a same line chart? In fact, I want impose a threshold(with values of the abscissa). One part of the line chart will be in blue (for exemple) and the other part in red.

Tonyo
Posted by RGraph support on 21st May 2013
Hi there,

You can do that with a filled range:

dev.rgraph.net/demos/line-dual-color-range.html
dev.rgraph.net/demos/line-dynamic-updates-range.html

And you can also have "one color for up, one for down" like this:

dev.rgraph.net/demos/line-different-colors.html

And you could probably use a similar technique as the dual color range to produce a dual color regular line chart. I can create a demo that shows this technique if you wish as a "license holders customisation".



Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer

Add a reply

 




« Back to message list
RGraph on social media