Line chart negative values

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Peter on 22nd January 2014
I have a graph that displays temperature. When it goes below 0 I get this message:
alert('[LINE] You have negative values and the X axis is at the bottom. This is not good...');

The graph looks fine....So why is this "not good"

Thanks,
Peter
Posted by Richard on 22nd January 2014
Hi there,

Try specifying the outofbounds option:

myLine.Set('outofbounds', true);


Like this chart does:

www.rgraph.net/demos/line-out-of-bounds.html





Richard
www.rgraph.net
Please link to the RGraph website. Thanks!

Add a reply




« Back to message list