Klasse OneGroupDataset
java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.ForAllRecordsDataset
com.inet.report.chart.dataset.OneGroupDataset
- Alle implementierten Schnittstellen:
BaseDataset, PieDataset, StandardDataset, Serializable
This is a dataset used by standard (bar, line, area) and pie charts.
This evaluates data sorted by one group for several data fields.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder BaseDataset
TOKEN_DATASET -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the category group.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 ONLYvoidRemoves the category group.protected voidsaveGroups(PrintWriter out, int depth) voidsetCategoryGroup(Field field) Creates a category group on this field.verify(ChartStyle style) Verifies the group and sum properties of current dataset.Von Klasse geerbte Methoden ForAllRecordsDataset
addDataField, getChart, getDataField, getDataField, getDataFields, getDataFieldsCount, removeAllDataFields, removeDataField, updateReferencesVon Klasse geerbte Methoden com.inet.report.chart.dataset.AbstractDataset
saveProperties, saveSummaryFieldsVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden BaseDataset
getChart, getDataField, getDataFields, updateReferences
-
Konstruktordetails
-
OneGroupDataset
Creates a new empty data set.- Parameter:
chart- the chart (nullnot permitted)- Seit:
- 8.0
-
-
Methodendetails
-
getCategoryGroup
Returns the category group. The category group is the first group of chart.- Setzt außer Kraft:
getCategoryGroupin KlasseForAllRecordsDataset- Gibt zurück:
- the group or
nullif this group was not initialized. - Seit:
- 8.0
- Siehe auch:
-
setCategoryGroup
Creates a category group on this field. This group is for sorting and consolidating records with same values on the group axis, i.e. the x axis byPlotOrientation.VERTICAL. To change the sort order of the data in this group, get this withgetCategoryGroup()and use the Group properties.SummaryField,SpecialFieldandGroupFieldare unsupported field types.- Parameter:
field- the group field (nullnot permitted)- Löst aus:
IllegalArgumentException- if field isnullor has an unsupported field type.- Seit:
- 8.0
- Siehe auch:
-
removeCategoryGroup
public void removeCategoryGroup()Removes the category group. Note: this data set is incomplete without a category groupand cannot be used by the chart.- Seit:
- 8.0
- Siehe auch:
-
verify
Verifies the group and sum properties of current dataset.- Angegeben von:
verifyin SchnittstelleBaseDataset- Setzt außer Kraft:
verifyin KlasseForAllRecordsDataset- Parameter:
style- the chart style- Gibt zurück:
- the error message or empty string if all properties are correct.
-
getReferencedObject
FOR INTERNAL USE ONLY- Angegeben von:
getReferencedObjectin SchnittstelleBaseDataset- Setzt außer Kraft:
getReferencedObjectin Klassecom.inet.report.chart.dataset.AbstractDataset- Gibt zurück:
- FOR INTERNAL USE ONLY
-
saveGroups
- Setzt außer Kraft:
saveGroupsin Klassecom.inet.report.chart.dataset.AbstractDataset
-
getName
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.- Setzt außer Kraft:
getNamein KlasseForAllRecordsDataset- Gibt zurück:
- 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- Angegeben von:
getLabelProviderin SchnittstelleBaseDataset- Setzt außer Kraft:
getLabelProviderin KlasseForAllRecordsDataset- Gibt zurück:
- the LabelProvider responsible for providing the title, footnote, and axis labels
-