Difference between revisions of "List of charts"
| Line 3: | Line 3: | ||
! !! Chart !! Chart data in JTable !! Sample code | ! !! Chart !! Chart data in JTable !! Sample code | ||
|- | |- | ||
| − | | PieChart2D || [[image: | + | | PieChart2D || [[image:chart_Pie2d.jpg|thumb|none|150px]] || [[image:chart_Pie2_data.jpg]] || <pre> |
ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ||
int[][] pairs = new int[1][2]; | int[][] pairs = new int[1][2]; | ||
| Line 12: | Line 12: | ||
chartPanel = new ChartPanel(chart, false); </pre> | chartPanel = new ChartPanel(chart, false); </pre> | ||
|- | |- | ||
| − | | PieChart3D || [[image: | + | | PieChart3D || [[image:chart_Pie3d.jpg|thumb|none|150px]] || [[image:Chart_Pie3d_data.jpg]] || <pre> |
ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ||
int[][] pairs = new int[1][2]; | int[][] pairs = new int[1][2]; | ||
| Line 21: | Line 21: | ||
chartPanel = new ChartPanel(chart, false); </pre> | chartPanel = new ChartPanel(chart, false); </pre> | ||
|- | |- | ||
| − | | RingChart || [[image: | + | | RingChart || [[image:Chart_Ring.jpg|thumb|none|150px]] || [[image:chart_Ring_data.jpg]] || <pre> |
ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ChartGenerator_JTable chartMaker = new ChartGenerator_JTable(); | ||
int[][] pairs = new int[1][2]; | int[][] pairs = new int[1][2]; | ||
| Line 32: | Line 32: | ||
|} | |} | ||
| + | |||
| + | All options for the chartMaker's getPieChart method: 2D 3D ring clockwise counter_clockwise. 2D is default. | ||
Revision as of 18:21, 19 June 2006
All options for the chartMaker's getPieChart method: 2D 3D ring clockwise counter_clockwise. 2D is default.


