edu.ucla.stat.SOCR.chart
Class ChartGenerator
java.lang.Object
edu.ucla.stat.SOCR.chart.ChartGenerator
public class ChartGenerator
- extends java.lang.Object
This class includes few typical statistical charts.
used by Analysis package
Method Summary |
JFreeChart |
createChart()
|
protected JFreeChart |
createQQChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
XYDataset dataset,
java.lang.String other)
|
protected XYDataset |
createXYDataset(java.lang.String serie1,
double[] x,
double[] y,
java.lang.String serie2,
double y_intercept,
double slope)
|
JFreeChart |
getBoxAndWhiskerChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int seriesCount,
int categoryCount,
java.lang.String[] seriesName,
java.lang.String[][] categoryName,
double[][][] values)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.lang.String other)
|
JFreeChart |
getQQChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String serie1,
double[] x,
double[] y,
java.lang.String serie2,
double y_intercept,
double slope,
java.lang.String other)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHART_SIZE_X
protected final int CHART_SIZE_X
- See Also:
- Constant Field Values
CHART_SIZE_Y
protected final int CHART_SIZE_Y
- See Also:
- Constant Field Values
ChartGenerator
public ChartGenerator()
createChart
public JFreeChart createChart()
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.lang.String other)
getQQChart
public JFreeChart getQQChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String serie1,
double[] x,
double[] y,
java.lang.String serie2,
double y_intercept,
double slope,
java.lang.String other)
getBoxAndWhiskerChart
public JFreeChart getBoxAndWhiskerChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int seriesCount,
int categoryCount,
java.lang.String[] seriesName,
java.lang.String[][] categoryName,
double[][][] values)
createXYDataset
protected XYDataset createXYDataset(java.lang.String serie1,
double[] x,
double[] y,
java.lang.String serie2,
double y_intercept,
double slope)
createQQChart
protected JFreeChart createQQChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
XYDataset dataset,
java.lang.String other)