edu.ucla.stat.SOCR.analyses.gui
Class Chart
java.lang.Object
edu.ucla.stat.SOCR.analyses.gui.Chart
public class Chart
- extends java.lang.Object
This class defines a basic type of Statistical Chart that can be
subclassed by the specific types of chart
(e.g., ANOVA, Regression, prediction, etc.)
Constructor Summary |
Chart()
|
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 java.util.List<java.lang.Double> |
createValueList(java.lang.String in)
|
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 sCount,
int cCount,
int xyLength,
java.lang.String[][] input)
|
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 |
getLineAndDotChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] lineX,
double[][] lineY,
java.awt.Color[] lineColors,
int numberOfDotsGroups,
java.lang.String[] dotGroupNames,
double[][] dotX,
double[][] dotY,
java.awt.Color[] dotColors,
java.lang.String other)
|
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.awt.Color[] colors,
java.lang.String other)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.lang.String other)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] x,
double[][] y,
java.awt.Color[] colors,
java.lang.String other)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] x,
double[][] y,
java.lang.String other)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String lineName,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String lineName,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.awt.Color[] colors,
java.lang.String other)
|
JFreeChart |
getLineChart(java.lang.String title,
java.lang.String lineName,
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
Chart
public Chart()
createChart
public JFreeChart createChart()
createValueList
protected java.util.List<java.lang.Double> createValueList(java.lang.String in)
getBoxAndWhiskerChart
public JFreeChart getBoxAndWhiskerChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int sCount,
int cCount,
int xyLength,
java.lang.String[][] input)
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)
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 lineName,
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)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String lineName,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.lang.String other)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.awt.Color[] colors,
java.lang.String other)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String lineName,
java.lang.String xLabel,
java.lang.String yLabel,
double[] x,
double[] y,
java.awt.Color[] colors,
java.lang.String other)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] x,
double[][] y,
java.lang.String other)
getLineChart
public JFreeChart getLineChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] x,
double[][] y,
java.awt.Color[] colors,
java.lang.String other)
getLineAndDotChart
public JFreeChart getLineAndDotChart(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
int numberOfLines,
java.lang.String[] lineNames,
double[][] lineX,
double[][] lineY,
java.awt.Color[] lineColors,
int numberOfDotsGroups,
java.lang.String[] dotGroupNames,
double[][] dotX,
double[][] dotY,
java.awt.Color[] dotColors,
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)
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)