Scatter: multiple data sets

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 Andy on 21st March 2013
Hello!

I'm trying to display a pointcloud and a regression-line in one Scatter Object.
e.g.:
var scatter = new RGraph.Scatter('myCanvas', data,lineData ])

Is it possible, to set the "chart.line" flag for only one dataset?
I saw that you can set the "line.stepped" flag for several sets (like in the scatter03.html example), but I was unable to do so for the line/no-line option.

Thanks for your help
Posted by RGraph support on 21st March 2013
Hi there,

You may find it easier to use two Scatter objects - one for the points and then one for the line.




Richard

Add a reply




« Back to message list