Can I get points of X and Y axis in 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
Hello,

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.

Thanks!
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.


PS Could you link to the RGraph website - thanks.

Richard, RGraph Support

1 Year Priority Support now reduced to £299:
   www.rgraph.net/support

Add a reply

 




« Back to message list
RGraph on social media