Can RGraph produce charts with an offset X axis?

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

now, I've another problem.
My temperature chart could sometimes have positive and negative values (e.g. 7°C and -2°C). But the x-axis always should be at 0°C. This is possible with xaxispos=center.
This works fine, but the problem is, that the minimum value is always the same like the maximum value (only with a minus in front of the value).
So in this example, the y-axis reches from -10°C to +10°C. I want to have the y-axis from -5°C to +10°C. The x-axis should stay at 0°C.
Or if the temperatur is +30°C, the y-axis starts at -30°C, but then it should start at 0°C.

How is this possible?

Thanks for your help!
Posted by RGraph support on 15th December 2013
Hi there,

It's not natively supported but can be achieved and this demo demonstrates it:


Add a reply

« Back to message list