public abstract class CategoricalSeriesModel extends SeriesModelWithAxes<CategoricalDataPointBase> implements SupportCombineMode
ChartSeriesModel.DataPointsChangedListener
ChartElement.Predicate<T>
Modifier and Type | Field and Description |
---|---|
static int |
COMBINE_MODE_PROPERTY_KEY |
static int |
STACK_GROUP_KEY_PROPERTY_KEY |
DATA_POINTS_MODIFIED_MESSAGE_KEY
children
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
CategoricalSeriesModel()
Creates a new instance of the
CategoricalSeriesModel class. |
Modifier and Type | Method and Description |
---|---|
ModifyChildrenResult |
canAddChild(ChartNode child)
Gets a
ModifyChildrenResult value that determines if a child can be added to this element. |
ChartSeriesCombineMode |
getCombineMode()
Gets the
ChartSeriesCombineMode value that specifies whether this instance should be combined with other instances of same type. |
AxisPlotMode |
getDefaultPlotMode()
Gets the default
AxisPlotMode for this series. |
Object |
getStackGroupKey()
Gets the key that identifies the stack this instance should be put into.
|
void |
setCombineMode(ChartSeriesCombineMode value)
Sets the
ChartSeriesCombineMode value that specifies whether this instance should be combined with other instances of same type. |
void |
setStackGroupKey(Object value)
Sets the key that identifies the stack this instance should be put into.
|
attachAxis, detachAxis, getFirstAxis, getSecondAxis
dataPoints, getVirtualizationEnabled, setVirtualizationEnabled, updateVisibleDataPoints, visibleDataPoints
getCombinedPlotStrategy, getCombinedRoundLayoutStrategy, getDataPointsChangedListener, selectPlotMode, setDataPointsChangedListener
enumDescendants, enumDescendants, enumDescendants, findAncestor, findDescendant, getPresenter, isAncestorOf, setPresenter
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, index, invalidate, isTreeLoaded, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public static final int COMBINE_MODE_PROPERTY_KEY
public static final int STACK_GROUP_KEY_PROPERTY_KEY
public CategoricalSeriesModel()
CategoricalSeriesModel
class.public ChartSeriesCombineMode getCombineMode()
ChartSeriesCombineMode
value that specifies whether this instance should be combined with other instances of same type.getCombineMode
in interface SupportCombineMode
public void setCombineMode(ChartSeriesCombineMode value)
ChartSeriesCombineMode
value that specifies whether this instance should be combined with other instances of same type.public Object getStackGroupKey()
getStackGroupKey
in interface SupportCombineMode
public void setStackGroupKey(Object value)
public AxisPlotMode getDefaultPlotMode()
ChartSeriesModel
AxisPlotMode
for this series.getDefaultPlotMode
in class ChartSeriesModel
public ModifyChildrenResult canAddChild(ChartNode child)
ChartElement
ModifyChildrenResult
value that determines if a child can be added to this element.canAddChild
in class ChartElement
child
- The child to be considered.