Reading the X value


« 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 17th April 2014
Hi,

is it possible to read the value off the x-axis like the y-axis. (getValue(e))

This reads the value of the y-axis:
var obj = e.target.__object__;
var textbox = document.getElementById("Textbox");
textbox.value = obj.getValue(e);


Posted by Richard on 17th April 2014
Hi there,

If you use the Scatter chart (with a connecting line) there is a getXValue() method. It essentially becomes an XY chart. The Line chart though has no X scale.



Richard
www.rgraph.net
If RGraph has helped you - please share the website - thanks!

RGraph Priority Support: www.rgraph.net/support#priority-support
Posted by jlost55 on 17th April 2014
Ok thanks

Add a reply

 




« Back to message list
RGraph on social media