How to use the SOCRChart API to create charts
From Socr
(Difference between revisions)
Line 1: | Line 1: | ||
The SOCRChart API is a Java library based on [http://www.jfree.org/jfreechart/| 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 API is a Java library based on [http://www.jfree.org/jfreechart/| 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: [[List_of_charts#Pie_Chart | Pie | + | The SOCRChart supports a wide range of chart types: [[List_of_charts#Pie_Chart | Pie Charts]], [[List_of_charts#Bar_Chart| Bar Charts]], [[List_of_charts#Line_Chart | Line Charts]], [[List_of_charts#Area_Charts | Area Chart]] and [[List_of_charts#Miscellaneous_Chart| Miscellaneous Charts]]. Please see [[ list_of_charts|List of Charts]] for detail. |
To use the SOCRChart API library, please download the jar files, and use [[A_sample_SOCRChartAPITest_class | the sample code]] as a example. | To use the SOCRChart API library, please download the jar files, and use [[A_sample_SOCRChartAPITest_class | the sample code]] as a example. |
Revision as of 19:53, 27 June 2006
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