public class TimeSeriesBarDataset extends BarDataset implements HasTimeSeriesItems
DataPoint or TimeSeriesItem.FLEX_BAR_THICKNESS, FLOATING_BAR_DATA_FACTORY| Modifier | Constructor and Description |
|---|---|
|
TimeSeriesBarDataset()
Creates a dataset.
It uses the global options has default. |
|
TimeSeriesBarDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
protected |
TimeSeriesBarDataset(Type type)
Creates the dataset using a default and chart type related to the dataset.
|
protected |
TimeSeriesBarDataset(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.
|
List<Double> |
getData()
Returns the data property of a dataset for a chart is specified as an array of numbers.
|
List<Double> |
getData(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of numbers.
|
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.
|
void |
setData(double... values)
Sets the data property of a dataset for a chart is specified as an array of numbers.
|
void |
setData(List<Double> values)
Sets the data property of a dataset for a chart is specified as an array of numbers.
|
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, getFloatingData, getFloatingData, getLabel, getMaxBarThickness, getMinBarLength, getOrderer, getXAxisID, getYAxisID, setBarPercentage, setBarThickness, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderWidth, setCategoryPercentage, setFloatingData, setFloatingData, setFloatingData, setMaxBarThickness, setMinBarLength, setXAxisID, setYAxisIDapplyGradient, 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, setHoverBorderWidthgetBackgroundColorCallback, getBorderColorCallback, getBorderWidthCallback, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getHoverBorderWidthCallback, getId, getOptions, getOptions, getType, hasOptions, invokeColorCallback, isHidden, removeOptions, setBackgroundColor, setBorderColor, setBorderWidth, setHidden, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderWidth, setLabel, setOptions, setOptionscheckValue, empty, getArrayValue, getNativeChart, 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, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckTimeSeriesItems, getTimeSeriesData, getTimeSeriesData, isTimeSeriesItem, setDataPoints, setDataPoints, setTimeSeriesData, setTimeSeriesDatagetDataPoints, getDataPointsgetDatasetpublic TimeSeriesBarDataset()
public TimeSeriesBarDataset(IsDefaultOptions defaultValues)
defaultValues - default optionsprotected TimeSeriesBarDataset(Type type)
type - chart type related to the datasetprotected TimeSeriesBarDataset(Type type, IsDefaultOptions defaultValues)
type - chart type related to the datasetdefaultValues - default optionspublic final BarStacker getBarStacker()
public final void setData(double... values)
DatasetsetData in interface HasTimeSeriesItemssetData in class Datasetvalues - an array of numberspublic final void setData(List<Double> values)
DatasetsetData in interface HasTimeSeriesItemssetData in class Datasetvalues - list of numbers.public final List<Double> getData()
DatasetgetData in interface HasTimeSeriesItemsgetData in class DatasetDataType.NUMBERS.public final List<Double> getData(boolean binding)
DatasetgetData in interface HasTimeSeriesItemsgetData in class Datasetbinding - if true binds the new array list into containerDataType.NUMBERS.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()