regression chart
"Nathan Feger" <[email protected]> Wed, 19 May 2004 13:33:59 -0500
| Newsgroups | gmane.comp.krysalis.jcharts.devel |
|---|---|
| Message-ID | <[email protected]> |
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/regress.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>> <<RegressionChart.java>> <<AxisChart.java>> Nathan NOTICE: This message and any information, files or materials sent with may contain confidential and proprietary information or material of the sender, the recipient(s) or others, or information or material covered by the attorney-client privilege, attorney work product privilege, or other applicable privilege. If you are not a named recipient or if you have received this message in error, please notify the sender immediately by return email, delete this email from your system, and do not disclose the contents of this transmission to any other person, use this transmission or any of its contents for any purpose, or further copy its contents. Persons communicating with Works Operating Company, any of its affiliated companies, or any of their respective representatives by electronic means are advised and agree that such communications are reviewed for harmful or objectionable content or m aterial.
ChartType.java
(application/octet-stream, 4.3 KB) - not displayed
RegressionChart.java
(application/octet-stream, 11.2 KB) - not displayed
AxisChart.java
(application/octet-stream, 24.8 KB) - not displayed