public class StackedBarDataset extends BarDataset
stack
property.FLEX_BAR_THICKNESS
Modifier | Constructor and Description |
---|---|
|
StackedBarDataset()
Creates a dataset.
It uses the global options has default. |
|
StackedBarDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
protected |
StackedBarDataset(Type type)
Creates the dataset using chart type related to the dataset.
|
protected |
StackedBarDataset(Type type,
IsDefaultOptions defaultValues)
Creates the dataset using a default and chart type related to the dataset.
|
Modifier and Type | Method and Description |
---|---|
BarStacker |
getBarStacker()
Returns an stack option manager instance.
|
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default String |
getStackGroup()
Returns the name of stack group.
|
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default void |
setStackGroup(String stackGroup)
Sets the name of stack group.
|
getBarPercentage, getBarThickness, getBorderSkipped, getBorderSkippedCallback, getBorderWidthAsItem, getCategoryPercentage, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getLabel, getMaxBarThickness, getMinBarLength, getOrderer, getXAxisID, getYAxisID, setBarPercentage, setBarThickness, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderWidth, setCategoryPercentage, setMaxBarThickness, setMinBarLength, setXAxisID, setYAxisID
applyGradient, applyPattern, getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColor, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth
getBackgroundColorCallback, getBorderColorCallback, getBorderWidthCallback, getData, getData, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getHoverBorderWidthCallback, getId, getOptions, getOptions, getType, hasOptions, invokeColorCallback, isHidden, removeOptions, setBackgroundColor, setBorderColor, setBorderWidth, setData, setData, setHidden, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderWidth, setLabel, setOptions, setOptions
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataPoints, getDataPoints, setDataPoints, setDataPoints
getDataset
public StackedBarDataset()
public StackedBarDataset(IsDefaultOptions defaultValues)
defaultValues
- default optionsprotected StackedBarDataset(Type type)
type
- chart type related to the datasetprotected StackedBarDataset(Type type, IsDefaultOptions defaultValues)
type
- chart type related to the datasetdefaultValues
- default optionspublic final BarStacker getBarStacker()
public void setStackGroup(String stackGroup)
stackGroup
- name of stack group.public String getStackGroup()
public void setOrder(int order)
order
- the drawing order of dataset.public int getOrder()