Adding target value in RGraph (Line chart)

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 Muhammad Adnan on 6th December 2013
Is there a way to draw target value line in Rgraph to show variation of values from target . I mean add constant line in exisiting graph .


Best Regards

Muhammad Adnan
Posted by RGraph support on 6th December 2013
Hi there,

You will need to use the .getYCoord(value) function to get the YCoord and then use the standard canvas drawing API (eg moveTo/lineTo) to draw the line.



Richard, RGraph Support

Add a reply




« Back to message list