Hi Vizguy,
    Many thanks for the response - your interaction on this group is
exceptional and I hope that your boss appreciates you!

I just wanted to provide an update here in case anyone else
encountered a similar issue as I had posted above.  In the end, I got
everything I wanted implemented using:

1) Flot  - allows different types of graphs to be shown on the same
axes.  Nice little solution also.
2) RegressionCalculator.java from the Danby Package - easily found on
the web.  Will calculate a regression line for you, all you need to do
is provide the data points.  Construct the data and then it's
basically.

RegressionCalculator calc = new RegressionCalculator(double[] x, double
[] y);
double s = calc.getSlope();
double i = calc.getIntercept();

Going from memory there but that's the basic idea.

Regards,
David



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to