Chart with Y axis from -400 to 1200

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 jlost55 on 8th May 2014
Hello,

Is it possible to create a graph with an y-axis from -400 to 1200?

With xaxispos = "center", it is from -1200 to -1200.
Posted by Richard on 8th May 2014
Hi there,

You can create 'quarter-axis' charts - but it's not something that's supported 'out of the box'. There are examples here:

www.rgraph.net/demos/line-quarter-axis-dual-color.html
www.rgraph.net/demos/line-quarter-axis-inverted.html
www.rgraph.net/demos/line-quarter-axis.html
www.rgraph.net/demos/line-quarter-axis2.html






Richard
Posted by jlost55 on 9th May 2014
Is it possible to make a dynamic canvas with your ownes axis?
Posted by Richard on 9th May 2014
Hi there,

If you mean one axis then you might be able to do that with the drawing API Y axis - set the minimum value and the maximum value to those that you want and see what happens!






Richard
Posted by jlost55 on 9th May 2014
thanks.

I think that it's very difficult. Beucase I draw also a chart (dynamic) for my another lines.

How can I calculate a good balanced scale for my positive y axis and my negative y axis?

It would be easier to give what your minimum value and maximum value for a chart.
Posted by Richard on 9th May 2014
Hi

I don't think you'll be able to get that. Charts where the X axis is not in the center is not something that's natively supported.




Richard
Posted by jlost55 on 12th May 2014
ok thanks
Posted by jlost55 on 12th May 2014
Hi,

Is it possible to draw a filled line when it is out of bounds?
Posted by Richard on 12th May 2014
Hi

Not as you'd expect. I'll take a look at this for the next release.




Richard
Posted by jlost55 on 12th May 2014
ok, is there an another solution that I can use now.
Posted by Richard on 12th May 2014
Hi


Not easily. You could draw the line unfilled with the outofbounds setting enabled and a transparent colour, then use the coordinates to draw the line yourself with a regular colour.





Richard
Posted by jlost55 on 12th May 2014
Ok I can try it.


When is the next release?
Posted by Richard on 12th May 2014
Hi

At the end of June - though that's not a guaranteed date.






Richard
Posted by jlost55 on 12th May 2014
ok, thanks for the information. I'll trying to draw it with your tip
Posted by jlost55 on 13th May 2014
Hi,

is it possible to get the value when it is out of bounds. (negative value). I want to read the value with a crosshair in a textbox. The positive value isn't a problem.
Posted by Richard on 13th May 2014
Hi

No - the crosshairs only read the value under the crosshairs when they're within the gutters.





Richard
Posted by jlost55 on 13th May 2014
Ok thanks

Add a reply




« Back to message list