Line chart negative values

Share RGraph:   Share or Like RGraph on Facebook!

« 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

Add a reply




« Back to message list