Package com.inet.report.chart.dataset
Class ForEachRecordDataset
java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.ForAllRecordsDataset
com.inet.report.chart.dataset.ForEachRecordDataset
- All Implemented Interfaces:
BaseDataset,PieDataset,StandardDataset,Serializable
public class ForEachRecordDataset
extends ForAllRecordsDataset
implements StandardDataset, PieDataset
This is a dataset used by standard (bar, line, area) and pie charts.
This evaluates data 'for each record' for several data fields.
- Since:
- 8.0
- See Also:
-
Field Summary
Fields inherited from interface com.inet.report.chart.dataset.BaseDataset
TOKEN_DATASET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the label field which is used to label the row on the group axis.com.inet.report.chart.dataset.LabelProviderReturns the LabelProvider responsible for providing the title, footnote, and axis labelsprotected StringgetName()FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.FOR INTERNAL USE ONLYprotected voidsaveProperties(PrintWriter out, int depth) voidsetLabelField(Field labelField) Sets the label field.Methods inherited from class com.inet.report.chart.dataset.ForAllRecordsDataset
addDataField, getCategoryGroup, getChart, getDataField, getDataField, getDataFields, getDataFieldsCount, removeAllDataFields, removeDataField, updateReferences, verifyMethods inherited from class com.inet.report.chart.dataset.AbstractDataset
saveGroups, saveSummaryFieldsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inet.report.chart.dataset.BaseDataset
getChart, getDataField, getDataFields, updateReferences, verify
-
Constructor Details
-
ForEachRecordDataset
Creates a new empty dataset.- Parameters:
chart- the chart (nullnot permitted)- Since:
- 8.0
-
-
Method Details
-
getLabelField
Returns the label field which is used to label the row on the group axis.- Returns:
- the field.
- Since:
- 8.0
- See Also:
-
setLabelField
Sets the label field. The label field is used to label the group axis. If this field was not set, the chart indicates each item with its row number. Otherwise the chart displays the value of the label field from the current row on the group axis.- Parameters:
labelField- the field (nullpermitted)- Since:
- 8.0
- See Also:
-
getReferencedObject
FOR INTERNAL USE ONLY- Specified by:
getReferencedObjectin interfaceBaseDataset- Overrides:
getReferencedObjectin classcom.inet.report.chart.dataset.AbstractDataset- Returns:
- FOR INTERNAL USE ONLY
-
saveProperties
- Overrides:
savePropertiesin classcom.inet.report.chart.dataset.AbstractDataset
-
getName
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.- Overrides:
getNamein classForAllRecordsDataset- Returns:
- name of the XML attribute for this dataset
-
getLabelProvider
public com.inet.report.chart.dataset.LabelProvider getLabelProvider()Returns the LabelProvider responsible for providing the title, footnote, and axis labels- Specified by:
getLabelProviderin interfaceBaseDataset- Overrides:
getLabelProviderin classForAllRecordsDataset- Returns:
- the LabelProvider responsible for providing the title, footnote, and axis labels
-