Package com.inet.report.chart.dataset
Interface XYDataset
- All Superinterfaces:
BaseDataset
,Serializable
- All Known Implementing Classes:
XYForAllRecordsDataset
,XYForEachRecordDataset
,XYOneGroupDataset
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:
-
Field Summary
Fields inherited from interface com.inet.report.chart.dataset.BaseDataset
TOKEN_DATASET
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data field which provides the size of the bubble.Returns the data field which provides the x coordinates of the item label.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
Sets the data field which provides the x coordinate of item.void
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 Details
-
getSizeField
SummaryField getSizeField()Returns the data field which provides the size of the bubble. This property is for chart styleXYStyle.BUBBLE
only.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
getXField
SummaryField getXField()Returns the data field which provides the x coordinates of the item label.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
getYField
SummaryField getYField()Returns the data field which provides the y coordinates of the item label.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
setSizeField
Sets the data field which provides the size of the bubble. This property is for chart styleXYStyle.BUBBLE
only. Creates a newSummaryField
with 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:
IllegalArgumentException
- if the first or second field are required andnull
or have an unsupported value type.IllegalArgumentException
- if nth is less than zero.- Since:
- 8.0
- See Also:
-
setXField
Sets the data field which provides the x coordinate of item. Creates a newSummaryField
with 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:
IllegalArgumentException
- if the first or second field are required andnull
or have an unsupported value type.IllegalArgumentException
- if nth is less than zero.- Since:
- 8.0
- See Also:
-
setYField
Sets the data field which provides the y coordinate of item. Creates a newSummaryField
with 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:
IllegalArgumentException
- if the first or second field are required andnull
or have an unsupported value type.IllegalArgumentException
- if nth is less than zero.- Since:
- 8.0
- See Also:
-