public interface XYDataset extends BaseDataset
XYForAllRecordsDataset
,
XYForEachRecordDataset
,
XYOneGroupDataset
TOKEN_DATASET
Modifier and Type | Method and Description |
---|---|
SummaryField |
getSizeField()
Returns the data field which provides the size of the bubble.
|
SummaryField |
getXField()
Returns the data field which provides the x coordinates of the item label.
|
SummaryField |
getYField()
Returns the data field which provides the y coordinates of the item label.
|
void |
setSizeField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the size of the bubble.
|
void |
setXField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the x coordinate of item.
|
void |
setYField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the y coordinate of item.
|
getChart, getDataField, getDataFields, getLabelProvider, verify
SummaryField getSizeField()
XYStyle.BUBBLE
only.SummaryField
or null
if this field was not initialized.setSizeField(int, Field, Field, int)
SummaryField getXField()
SummaryField
or null
if this field was not initialized.setXField(int, Field, Field, int)
SummaryField getYField()
SummaryField
or null
if this field was not initialized.setYField(int, Field, Field, int)
void setSizeField(int summaryOperation, Field field, Field field2nd, int nth)
XYStyle.BUBBLE
only.
Creates a new SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number resultsfield
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used e.g. by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the first or second field are required and null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getSizeField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
void setXField(int summaryOperation, Field field, Field field2nd, int nth)
SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number resultsfield
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used e.g. by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the first or second field are required and null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getSizeField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
void setYField(int summaryOperation, Field field, Field field2nd, int nth)
SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number resultsfield
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used e.g. by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the first or second field are required and null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getSizeField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
Copyright © 1999-2018 by i-net software GmbH