Specify the xaxispos

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 Matze on 14th December 2013

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 these demos demonstrate it:

And you may be particularly interested this one, which is a bit more complicated, but is a dual color chart:



Richard, RGraph Support
Please link to the RGraph website. Thanks!

Add a reply

« Back to message list