public class TimeSeriesLineDataset extends LineDataset implements HasTimeSeriesItems
DataPoint
or
TimeSeriesItem
.Modifier | Constructor and Description |
---|---|
|
TimeSeriesLineDataset()
Creates a dataset.
It uses the global options has default. |
|
TimeSeriesLineDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
protected |
TimeSeriesLineDataset(Type type)
Creates the dataset using a default and chart type related to the dataset.
|
protected |
TimeSeriesLineDataset(Type type,
IsDefaultOptions defaultValues)
Creates the dataset using a default and chart type related to the dataset.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getDataString()
Returns the data property of a dataset for a chart is specified as an array of strings.
|
List<String> |
getDataString(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of strings.
|
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
void |
setDataString(List<String> data)
Sets the data property of a dataset for a chart is specified as an array of strings.
|
void |
setDataString(String... data)
Sets the data property of a dataset for a chart is specified as an array of strings.
|
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
getClip, getClipAsObject, getCubicInterpolationMode, getCubicInterpolationModeCallback, getSteppedLine, getXAxisID, getYAxisID, isShowLine, setClip, setClip, setCubicInterpolationMode, setCubicInterpolationMode, setShowLine, setSteppedLine, setSteppedLine, setXAxisID, setYAxisID
applyGradient, applyPattern, getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPattern, getBackgroundColorAsString, getBorderCapStyle, getBorderCapStyleCallback, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderDash, getBorderDashCallback, getBorderDashOffset, getBorderDashOffsetCallback, getBorderJoinStyle, getBorderJoinStyleCallback, getBorderWidth, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getFill, getFillCallback, getFiller, getHoverBackgroundColor, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderCapStyle, getHoverBorderCapStyleCallback, getHoverBorderColor, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderDash, getHoverBorderDashCallback, getHoverBorderDashOffset, getHoverBorderDashOffsetCallback, getHoverBorderJoinStyle, getHoverBorderJoinStyleCallback, getHoverBorderWidth, getLabel, getLineTension, getOrderer, getPointBackgroundColor, getPointBackgroundColorAsGradient, getPointBackgroundColorAsString, getPointBackgroundColorCallback, getPointBorderColor, getPointBorderColorAsGradient, getPointBorderColorAsString, getPointBorderColorCallback, getPointBorderWidth, getPointBorderWidthCallback, getPointFillStyleProperty, getPointHitRadius, getPointHitRadiusCallback, getPointHoverBackgroundColor, getPointHoverBackgroundColorAsGradient, getPointHoverBackgroundColorAsString, getPointHoverBackgroundColorCallback, getPointHoverBorderColor, getPointHoverBorderColorAsGradient, getPointHoverBorderColorAsString, getPointHoverBorderColorCallback, getPointHoverBorderWidth, getPointHoverBorderWidthCallback, getPointHoverRadius, getPointHoverRadiusCallback, getPointRadius, getPointRadiusCallback, getPointRotation, getPointRotationCallback, getPointStrokeStyleProperty, getPointStyle, getPointStyleAsImages, getPointStyleCallback, isSpanGaps, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderCapStyle, setBorderCapStyle, setBorderColor, setBorderColor, setBorderColor, setBorderDash, setBorderDash, setBorderDashOffset, setBorderDashOffset, setBorderJoinStyle, setBorderJoinStyle, setBorderWidth, setFill, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderCapStyle, setHoverBorderCapStyle, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderDash, setHoverBorderDash, setHoverBorderDashOffset, setHoverBorderDashOffset, setHoverBorderJoinStyle, setHoverBorderJoinStyle, setHoverBorderWidth, setLineTension, setPointBackgroundColor, setPointBackgroundColor, setPointBackgroundColor, setPointBackgroundColor, setPointBorderColor, setPointBorderColor, setPointBorderColor, setPointBorderColor, setPointBorderWidth, setPointBorderWidth, setPointHitRadius, setPointHitRadius, setPointHoverBackgroundColor, setPointHoverBackgroundColor, setPointHoverBackgroundColor, setPointHoverBackgroundColor, setPointHoverBorderColor, setPointHoverBorderColor, setPointHoverBorderColor, setPointHoverBorderColor, setPointHoverBorderWidth, setPointHoverBorderWidth, setPointHoverRadius, setPointHoverRadius, setPointRadius, setPointRadius, setPointRotation, setPointRotation, setPointStyle, setPointStyle, setPointStyle, setPointStyle, setPointStyle, setSpanGaps
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
checkTimeSeriesItems, getData, getData, getTimeSeriesData, getTimeSeriesData, isTimeSeriesItem, setData, setData, setDataPoints, setDataPoints, setTimeSeriesData, setTimeSeriesData
getDataPoints, getDataPoints
getDataset
public TimeSeriesLineDataset()
public TimeSeriesLineDataset(IsDefaultOptions defaultValues)
defaultValues
- default optionsprotected TimeSeriesLineDataset(Type type)
type
- chart type related to the datasetprotected TimeSeriesLineDataset(Type type, IsDefaultOptions defaultValues)
type
- chart type related to the datasetdefaultValues
- default optionspublic final void setDataString(String... data)
LineDataset
setDataString
in class LineDataset
data
- an array of stringspublic final void setDataString(List<String> data)
LineDataset
setDataString
in class LineDataset
data
- a list of stringspublic final List<String> getDataString()
LineDataset
getDataString
in class LineDataset
DataType.STRINGS
.public final List<String> getDataString(boolean binding)
LineDataset
getDataString
in class LineDataset
binding
- if true
binds the new array list into containerDataType.STRINGS
.public void setOrder(int order)
order
- the drawing order of dataset.public int getOrder()