Package com.inet.report.chart.dataset
Interface XYDataset
-
- All Superinterfaces:
BaseDataset,java.io.Serializable
- All Known Implementing Classes:
XYForAllRecordsDataset,XYForEachRecordDataset,XYOneGroupDataset
public interface XYDataset extends BaseDataset
An interface that is implemented by data sets that have x, y and size fields. For more information see the implementors of this interface.- Since:
- 8.0
- See Also:
XYForAllRecordsDataset,XYForEachRecordDataset,XYOneGroupDataset
-
-
Field Summary
-
Fields inherited from interface com.inet.report.chart.dataset.BaseDataset
TOKEN_DATASET
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SummaryFieldgetSizeField()Returns the data field which provides the size of the bubble.SummaryFieldgetXField()Returns the data field which provides the x coordinates of the item label.SummaryFieldgetYField()Returns the data field which provides the y coordinates of the item label.voidsetSizeField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the size of the bubble.voidsetXField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the x coordinate of item.voidsetYField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the y coordinate of item.-
Methods inherited from interface com.inet.report.chart.dataset.BaseDataset
getChart, getDataField, getDataFields, getLabelProvider, getReferencedObject, updateReferences, verify
-
-
-
-
Method Detail
-
getSizeField
SummaryField getSizeField()
Returns the data field which provides the size of the bubble. This property is for chart styleXYStyle.BUBBLEonly.- Returns:
- the data field of type
SummaryFieldornullif this field was not initialized. - Since:
- 8.0
- See Also:
setSizeField(int, Field, Field, int)
-
getXField
SummaryField getXField()
Returns the data field which provides the x coordinates of the item label.- Returns:
- the data field of type
SummaryFieldornullif this field was not initialized. - Since:
- 8.0
- See Also:
setXField(int, Field, Field, int)
-
getYField
SummaryField getYField()
Returns the data field which provides the y coordinates of the item label.- Returns:
- the data field of type
SummaryFieldornullif this field was not initialized. - Since:
- 8.0
- See Also:
setYField(int, Field, Field, int)
-
setSizeField
void setSizeField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the size of the bubble. This property is for chart styleXYStyle.BUBBLEonly. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and on using parameters 'field2nd' and 'nth' seeSummaryField.- Parameters:
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 averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used e.g. by summary operationSummaryField.NTH_LARGEST- Throws:
java.lang.IllegalArgumentException- if the first or second field are required andnullor have an unsupported value type.java.lang.IllegalArgumentException- if nth is less than zero.- Since:
- 8.0
- See Also:
getSizeField(),SummaryField.setSummaryOperation(int),SummaryField.setField(Field),SummaryField.setField2nd(Field),SummaryField.setSummaryNth(int)
-
setXField
void setXField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the x coordinate of item. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and on using parameters 'field2nd' and 'nth' seeSummaryField.- Parameters:
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 averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used e.g. by summary operationSummaryField.NTH_LARGEST- Throws:
java.lang.IllegalArgumentException- if the first or second field are required andnullor have an unsupported value type.java.lang.IllegalArgumentException- if nth is less than zero.- Since:
- 8.0
- See Also:
getSizeField(),SummaryField.setSummaryOperation(int),SummaryField.setField(Field),SummaryField.setField2nd(Field),SummaryField.setSummaryNth(int)
-
setYField
void setYField(int summaryOperation, Field field, Field field2nd, int nth)Sets the data field which provides the y coordinate of item. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and on using parameters 'field2nd' and 'nth' seeSummaryField.- Parameters:
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 averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used e.g. by summary operationSummaryField.NTH_LARGEST- Throws:
java.lang.IllegalArgumentException- if the first or second field are required andnullor have an unsupported value type.java.lang.IllegalArgumentException- if nth is less than zero.- Since:
- 8.0
- See Also:
getSizeField(),SummaryField.setSummaryOperation(int),SummaryField.setField(Field),SummaryField.setField2nd(Field),SummaryField.setSummaryNth(int)
-
-