How to use the SOCRChart API to create charts

From Socr

(Difference between revisions)
Jump to: navigation, search
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.
+
 
 +
 
 +
* [[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]]
 +
 
 +
-----
 +
-----
 +
 
 +
The SOCRChart API is a Java library based on [http://www.jfree.org/jfreechart/| 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 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 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.
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.
Line 7: Line 16:
-----
-----
-----
-----
-
 
-
* [[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]]
 

Revision as of 19:19, 30 June 2006




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 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 [jars.zip] file, this includes all the JFreeChart and SOCR jar files. Then use the sample code as a example to create your own chart.



Personal tools