public class HorizontalBarDataset extends BarDataset
Dataset.CanvasObjectProperty, Dataset.CommonPropertyFLOATING_BAR_DATA_FACTORYDEFAULT_HIDDEN| Modifier | Constructor and Description |
|---|---|
|
HorizontalBarDataset()
Creates a data set.
It uses the global options has default. |
|
HorizontalBarDataset(boolean hidden)
Creates a data set.
It uses the global options has default. |
|
HorizontalBarDataset(IsDefaultOptions defaultValues)
Creates the data set using a default.
|
|
HorizontalBarDataset(IsDefaultOptions defaultValues,
boolean hidden)
Creates the data set using a default.
|
protected |
HorizontalBarDataset(Type type,
boolean hidden)
Creates the data set using chart type related to the data set.
|
protected |
HorizontalBarDataset(Type type,
IsDefaultOptions defaultValues,
boolean hidden)
Creates the data set using a default and chart type related to the data set.
|
| Modifier and Type | Method and Description |
|---|---|
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
void |
setIndexAxis(IndexAxis indexAxis)
Sets the base axis for the data set.
Use IndexAxis.Y for horizontal bar. |
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
getBase, getBaseCallback, getBorderRadius, getBorderRadiusAsObjects, getBorderRadiusCallback, getBorderSkipped, getBorderSkippedCallback, getBorderWidth, getBorderWidthAsObjects, getBorderWidthCallback, getDatasetOptionsHandler, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultHoverBackgroundColorAsString, getDefaultHoverBorderColorAsString, getDefaultHoverBorderWidth, getFloatingData, getFloatingData, getHoverBorderRadius, getHoverBorderRadiusAsObjects, getHoverBorderWidth, getHoverBorderWidthAsObjects, getHoverBorderWidthCallback, getIndexAxis, getLabel, getOrderHandler, getPointStyle, getPointStyleAsImage, getPointStyleCallback, getXAxisID, getYAxisID, isEnableBorderRadius, setBase, setBase, setBase, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setEnableBorderRadius, setFloatingData, setFloatingData, setFloatingData, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setPointStyle, setPointStyle, setPointStyle, setPointStyle, setXAxisID, setXAxisID, setYAxisID, setYAxisIDgetBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getHoverBackgroundColor, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColor, getHoverBorderColorAsGradient, getHoverBorderColorAsString, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColorgetAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getData, getDataCount, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isHidden, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setData, setData, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setOptions, setOptionscheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataPoints, getDataPoints, setDataPoints, setDataPointsgetDatasetgetBarPercentage, getBarThickness, getCategoryPercentage, getMaxBarThickness, getMinBarLength, isGrouped, setBarPercentage, setBarThickness, setCategoryPercentage, setGrouped, setMaxBarThickness, setMinBarLengthgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabledextractScopepublic HorizontalBarDataset()
public HorizontalBarDataset(boolean hidden)
hidden - if true, it will be initially hidden.public HorizontalBarDataset(IsDefaultOptions defaultValues)
defaultValues - default optionspublic HorizontalBarDataset(IsDefaultOptions defaultValues, boolean hidden)
defaultValues - default optionshidden - if true, it will be initially hidden.protected HorizontalBarDataset(Type type, boolean hidden)
type - chart type related to the data sethidden - if true, it will be initially hiddenprotected HorizontalBarDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)
type - chart type related to the data setdefaultValues - default optionshidden - if true, it will be initially hidden.public void setIndexAxis(IndexAxis indexAxis)
BarDatasetIndexAxis.Y for horizontal bar.setIndexAxis in class BarDatasetindexAxis - the base axis for the data setpublic void setOrder(int order)
order - the drawing order of dataset.public int getOrder()