The chart looks nice. Some quick questions: (1) Is the model interface the same as we used to have?
(2) This might be hard, but in the example chart, how do I know "hackystat-size" should use "Size(LOC)" axis instead of "Coverage" axis? Does JFreeChart has a solution? Thank you. Cedric Hongbing Kou wrote:
Hi, Guys, I just added multi-axis line chart. in report module. It's fairly simple to use it. You can create many category data models and assign each of them to related axis. Here is a sample chart. http://csdl.ics.hawaii.edu/~hongbing/MultiAxis.png The code snippet to create multi-axis chart is : CategoryDataModel[] model = CategoryDataSource.getMultiModels(); MultiAxisCategoryChartView view = new MultiAxisCategoryChartView(user, "Active Time vs Size"); view.addModel("Active Time (hrs)", model[0]); view.addModel("Size (LOC)", model[1]); view.addModel("Coverage (%)", model[2]); view.setJspChartAttribute(request, "Chart"); You can get it in hackyReportExample. I am still working on it. If you have any concern please feel free to let me know. Cheers, Hongbing
