|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.data.AbstractDataSet
inetsoft.graph.data.BoxDataSet
public class BoxDataSet
This class is used to create a boxplot. For each measure column, five new
columns are created: min, lower quartile, median, upper quartile, and max.
The outliers are left in the measure column.
To create a boxplot, create a schema element with BoxPainter, and bind max,
upper quartile, median, lower quartile, and min to the schema. Then create
a point element and bind it to the measure.
| Field Summary | |
|---|---|
static String |
MAX_PREFIX
The the prefix for the maximum column. |
static String |
MEDIUM_PREFIX
The the prefix for the median column. |
static String |
MIN_PREFIX
The the prefix for the minimum column. |
static String |
Q25_PREFIX
The the prefix for the lower quartile column. |
static String |
Q75_PREFIX
The the prefix for the upper quartile column. |
| Constructor Summary | |
|---|---|
BoxDataSet(DataSet base,
String[] dims,
String[] measures)
Create a boxplot dataset. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the data set. |
protected int |
getColCount0()
Return the number of columns in the data set without the calculated column. |
protected Comparator |
getComparator0(String col)
Get the comparer to sort data at the specified column. |
protected Object |
getData0(int col,
int row)
Return the data at the specified cell. |
protected String |
getHeader0(int col)
Return the column header at the specified column. |
protected int |
getRowCount0()
Return the number of rows in the chart lens. |
protected Class |
getType0(String col)
Get the data type of the column. |
protected int |
indexOfHeader0(String col)
Get the index of the specified header. |
protected boolean |
isMeasure0(String col)
Check if the column is measure. |
| Methods inherited from class inetsoft.graph.data.AbstractDataSet |
|---|
addCalcColumn, addCalcRow, getCalcColumns, getCalcColumns, getCalcRows, getColCount, getComparator, getData, getData, getHeader, getRowCount, getType, indexOfHeader, isMeasure, prepareCalc, prepareGraph, process, removeCalcColumns, removeCalcColValues, removeCalcRows, removeCalcRows, removeCalcRowValues, removeCalcValues |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MIN_PREFIX
public static final String Q25_PREFIX
public static final String MEDIUM_PREFIX
public static final String Q75_PREFIX
public static final String MAX_PREFIX
| Constructor Detail |
|---|
public BoxDataSet(DataSet base,
String[] dims,
String[] measures)
base - the specified base data set.dims - the dimension to group the data.measures - the measures to calculate box ranges.| Method Detail |
|---|
protected int getRowCount0()
getRowCount0 in class AbstractDataSetprotected int getColCount0()
getColCount0 in class AbstractDataSet
protected Object getData0(int col,
int row)
getData0 in class AbstractDataSetcol - the specified column index.row - the specified row index.protected int indexOfHeader0(String col)
indexOfHeader0 in class AbstractDataSetcol - the specified column header.protected String getHeader0(int col)
getHeader0 in class AbstractDataSetcol - the specified column index.protected Class getType0(String col)
getType0 in class AbstractDataSetprotected boolean isMeasure0(String col)
isMeasure0 in class AbstractDataSetcol - the specified column name.protected Comparator getComparator0(String col)
getComparator0 in class AbstractDataSetcol - the specified column.public Object clone()
AbstractDataSet
clone in interface DataSetclone in class AbstractDataSet
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||