How so I draw five lines

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply




« Back to message list