How to use the SOCRChart API to create charts

From Socr

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
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.
-
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 [[http://socr.stat.ucla.edu/jars/SOCR/jars.zip jars.zip]] file, this includes all the JFreeChart and SOCR jar files. Then use  [[A_sample_SOCRChartAPITest_class | the sample code]] as a example to create your own chart.  
-----
-----

Revision as of 18:40, 30 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 [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