|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.XYForAllRecordsDataset
com.inet.report.chart.dataset.XYForEachRecordDataset
com.inet.report.chart.dataset.XYOneGroupDataset
public class XYOneGroupDataset
This is a dataset used by xy charts. This evaluates data sorted by one group for three data fields (x, y and size).
| Field Summary |
|---|
| Fields inherited from class com.inet.report.chart.dataset.XYForAllRecordsDataset |
|---|
FIELDS_COUNT |
| Fields inherited from interface com.inet.report.chart.dataset.BaseDataset |
|---|
TOKEN_DATASET |
| Constructor Summary | |
|---|---|
XYOneGroupDataset(Chart2 chart)
Creates a new empty dataset. |
|
| Method Summary | |
|---|---|
Group |
getCategoryGroup()
Returns the category group. |
protected java.lang.String |
getName()
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset. |
java.util.List |
getReferencedObject()
FOR INTERNAL USE ONLY |
void |
removeCategoryGroup()
Removes the category group. |
protected void |
saveGroups(java.io.PrintWriter out,
int depth)
Writes the groups properties to output. |
void |
setCategoryGroup(Field field)
Creates a category group on this field. |
java.lang.String |
verify(ChartStyle style)
Verifies the group and sum properties of current dataset. |
| Methods inherited from class com.inet.report.chart.dataset.XYForEachRecordDataset |
|---|
getLabelProvider |
| Methods inherited from class com.inet.report.chart.dataset.XYForAllRecordsDataset |
|---|
getChart, getDataField, getDataField, getDataFields, getSizeField, getXField, getYField, setSizeField, setXField, setYField |
| Constructor Detail |
|---|
public XYOneGroupDataset(Chart2 chart)
chart - the chart (null not permitted)| Method Detail |
|---|
public Group getCategoryGroup()
getCategoryGroup in class XYForAllRecordsDatasetnull if this group was not initialized.setCategoryGroup(Field),
removeCategoryGroup()public void setCategoryGroup(Field field)
PlotOrientation.VERTICAL plots.
To change the sort order of the data in this group, get the with getCategoryGroup() and use the Group properties.
SummaryField, SpecialField and GroupField are unsupported field types.
field - the group field (null not permitted)
java.lang.IllegalArgumentException - if field is null or from unsupported field type.Group,
getCategoryGroup(),
removeCategoryGroup()public void removeCategoryGroup()
setCategoryGroup(Field),
getCategoryGroup()public java.lang.String verify(ChartStyle style)
verify in interface BaseDatasetverify in class XYForAllRecordsDatasetstyle - the chart style
public java.util.List getReferencedObject()
getReferencedObject in class com.inet.report.chart.dataset.AbstractDataset
protected void saveGroups(java.io.PrintWriter out,
int depth)
PrintWriter without building a StringBuffer.
saveGroups in class com.inet.report.chart.dataset.AbstractDatasetout - the outputdepth - the depth of XML indentprotected java.lang.String getName()
getName in class XYForEachRecordDataset
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||