How to use the SOCRChart API to create charts

From SOCR
Jump to: navigation, search


The SOCRChart API is a Java library based on JFreeChart, SOCRChart API makes it easy for developers to generate professional quality charts for their applications. The SOCRChart API uses JTable as input data structure. The output data type JFreeChart can be easily displayed in your interface.

The SOCRChart supports a wide range of chart types: Pie Charts, Bar Charts, Line Charts, Area Chart and Miscellaneous Charts. Please see List of Charts for detail.

To use the SOCRChart API library, please download the SOCRjars.zip file, this includes all the JFreeChart and SOCR jar files. Then use the sample code as a example to create your own chart.