I have requirement like need to show the scatter plot with trend line and need to export graphs into pdf.
now my challenges are
need to show the trending line , can i use the jqplot plugin to integrate with jfreechart.
other wise i have to migrate to jqplot , wants to confirm whether we can extract the jqplots to pdf
can any one guide me , how to approach
venkat xyz wrote:
Burt my plot having DateAxis as Domain axis and NumberAxis as range axis .
is it possible to calculate the Regression against above types.
I have not used it with domain as a date but you could look at the JFreeChart source code to find out if it copes. If it does not then it is easy enough to do write your own regression calculator. You can model this on the methods of Regression.java in JFreeChart. In general terms, to use regression using dates one just needs to convert the date to a number. A java.util.Date object contains the number of milliseconds since the epoch which may serve your purpose.