tags:

views:

35

answers:

1

I have created a chart using jfreechart library. I have the data set that use to create the graph. Is there any way I can get a report of the data in a tabular form directly from the jfreechart chart object.. Or any other ways where i can create report using jfreechart

Thank you

A: 

Assuming an XYDataset for example, one approach is to extend AbstractXYDataset and implement TableModel. Then you can construct a JTable, which is easy to render or print.

trashgod