How so I draw five lines

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 Jessace on 17th October 2013
thank you, i don't know how to draw five lines in a chart,i need a demo ,or tell me how to do ?
Posted by RGraph support on 17th October 2013
Hi there,

You will need to use the standard moveTo/lineTo functions of canvas. You can get the context by using myChart.context. Eg:

myChart.context.beginPath();
myChart.context.moveTo(100,100);
myChart.context.moveTo(600,250);
myChart.context.stroke();



Richard, RGraph Support

Add a reply




« Back to message list