How to use the SOCRChart API to create charts
The SOCRChart API is a Java library based on JFreeChart, it makes it easy for developers to generate professional quality charts for their applications. The SOCRChart API uses JTable as input data structure for the chart data. The output 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 jar files, and use the sample code as a example.
- List of charts: A list of supported chart type with screen shots and sample source code.
- A sample SOCRChartAPITest class: This is a stand alone class for a simple bar chart.
- ChartGenerator_JTable JavaDoc