Klasse StockOneGroupDataset
java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.StockForAllRecordsDataset
com.inet.report.chart.dataset.StockForEachRecordDataset
com.inet.report.chart.dataset.StockOneGroupDataset
- Alle implementierten Schnittstellen:
BaseDataset, StockDataset, Serializable
This is a dataset used by stock charts.
This evaluates data sorted by one group for four data fields (open, close, high, low).
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder StockForAllRecordsDataset
FIELDS_COUNTVon Schnittstelle geerbte Felder BaseDataset
TOKEN_DATASET -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the category group.protected StringgetName()FOR INTERNAL USE ONLYFOR INTERNAL USE ONLYvoidRemoves the category group.protected voidresetSummaryFields(Group group) Resets the group properties of summary fields.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 StockForEachRecordDataset
getLabelProviderVon Klasse geerbte Methoden StockForAllRecordsDataset
getChart, getCloseField, getDataField, getDataField, getDataFields, getHighField, getLowField, getOpenField, setCloseField, setHighField, setLowField, setOpenField, updateReferencesVon Klasse geerbte Methoden com.inet.report.chart.dataset.AbstractDataset
saveProperties, saveSummaryFields
-
Konstruktordetails
-
StockOneGroupDataset
Creates a new empty dataset.- 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 KlasseStockForAllRecordsDataset- 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, e.g. the x axis onPlotOrientation.VERTICALplots. 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 dataset is incomplete without a category group and cannot be used by the chart in this case.- Seit:
- 8.0
- Siehe auch:
-
resetSummaryFields
Resets the group properties of summary fields.- Parameter:
group- the group- Seit:
- 8.0
-
verify
Verifies the group and sum properties of current dataset.- Angegeben von:
verifyin SchnittstelleBaseDataset- Setzt außer Kraft:
verifyin KlasseStockForAllRecordsDataset- 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- Setzt außer Kraft:
getNamein KlasseStockForEachRecordDataset- Gibt zurück:
- name name for this dataset
-