How can I get the X and Y coordinates in my Line chart?

« 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 mars on 18th February 2013

I need to get point of x and y axis in line graph.
Is there any method to get it?
I want to make the point of color is red when it is positive, and the point of color is green when it is negative.
so,i need every point of x and y axis.

Posted by RGraph support on 19th February 2013
Hi there,

There's no way to get the X value of a Line chart - there's no scale. For that you would need the Scatter chart with a connecting line so it looks similar to the Line hart.

Then there's the obj.getXValue() and obj.getXCoord() functions which you can use to get the information you need.

Then you can use the RGraph.Drawing.Circle() to add a circle using those coordinates.


Add a reply

« Back to message list