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