public class GanttTwoGroupsDataset extends GanttOneGroupDataset
FIELDS_COUNT
TOKEN_DATASET
Constructor and Description |
---|
GanttTwoGroupsDataset(Chart2 chart)
Creates a new empty dataset.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getName() |
java.util.List |
getReferencedObject() |
Group |
getSeriesGroup()
Returns the series group.
|
void |
removeSeriesGroup()
Removes the series group.
|
protected void |
saveGroups(java.io.PrintWriter out,
int depth) |
void |
setSeriesGroup(Field field)
Creates a series group on this field.
|
java.lang.String |
verify(ChartStyle style)
Verifies the group and sum properties of current dataset.
|
getCategoryGroup, removeCategoryGroup, resetSummaryFields, setCategoryGroup
getChart, getDataField, getDataField, getDataFields, getEndField, getLabelProvider, getProgressField, getStartField, setEndField, setProgressField, setStartField
public GanttTwoGroupsDataset(Chart2 chart)
chart
- the chart (null
not permitted)public Group getSeriesGroup()
null
if this group was not initialized.setSeriesGroup(Field)
,
removeSeriesGroup()
public void setSeriesGroup(Field field)
PlotOrientation.VERTICAL
.
The series group handles data grouped by the category group.
To change the sort order of the data in this group, get this with getSeriesGroup()
and use the Group properties.
SummaryField
, SpecialField
and GroupField
are unsupported field types.field
- (null
not permitted)java.lang.IllegalArgumentException
- if field is null
or has an unsupported field type.Group
,
getSeriesGroup()
,
removeSeriesGroup()
public void removeSeriesGroup()
setSeriesGroup(Field)
,
getSeriesGroup()
public java.lang.String verify(ChartStyle style)
verify
in interface BaseDataset
verify
in class GanttOneGroupDataset
style
- the chart stylepublic java.util.List getReferencedObject()
getReferencedObject
in class GanttOneGroupDataset
protected void saveGroups(java.io.PrintWriter out, int depth)
saveGroups
in class GanttOneGroupDataset
protected java.lang.String getName()
getName
in class GanttOneGroupDataset
Copyright © 1999-2020 by i-net software GmbH