Have you considered adding regression charting? This
would need the options of showing a linear regression
line, as well as optionally showing the points that
make up the line.
I imagine that if you got really energetic you could
use some exponential regression stuff.
This would pretty much facilitate me throwing kavachart
away.
Logged In: YES
user_id=118938
I am not sure off the top of my head what a regression chart
is. Can you point me at some examples?
RegressionChart.java
Logged In: YES
user_id=1040718
Here is what I sent to the jcharts develop mailing list:
to rid my life kavachart I needed a regression chart. Well, I
got impatient and put a little hackneyed thing together. Here
are the files that I have changed.
Chart type gets a new type RegressionChart.
AxisChart gets a new instantiator in the ifdom that picks
charts.
And finally there's the RegressionChart.java
I kind of changed the object model around a bit for the
regression chart since I had occation to use more than just
one function. Also, it made my life easier to have some
member data, so AxisChart instantiates a new
RegressionChart at every request. Also, if the regression line
goes under the bottom of the graph, it will not yet expand
the graph downward. Oh yeah, and there's some big honkin
comments left sittin' around.
I have only used this in one very specialized case so there's
probably plenty to do to make it better, but it's pretty nice
way to start off.
Oh and I kinda took some of my ideas from this website:
http://www.math.csusb.edu/faculty/stanton/m262/regress/re
gress.html so we may need to see how nice a person
stanton is, since he didn't mention any licensing on the
website it's not really clear.
ChartType.java
AxisChart.java
Logged In: YES
user_id=1040718
some linkes:
http://davidmlane.com/hyperstat/A115370.html
http://www.google.com/search?sourceid=mozclient&ie=utf-
8&oe=utf-8&q=regression+line
this is an applet that'll get you a good feel of a regression
line:
http://www.stat.uiuc.edu/courses/stat100//java/guess/PPApp
let.html
Logged In: YES
user_id=118938
ok cool.