public class SeriesSpline extends Series
A spline
series. If the type option is not specified, it is inherited from chart.type.
Configuration options for the series are given in three levels:
spline
series are defined in plotOptions.spline.Highcharts.chart('container', { plotOptions: { series: { // general options for all series }, spline: { // shared options for all spline series } }, series: [{ // specific options for this series instance type: 'spline' }] });Copyright (c) 2018 Powerbuilt Systems. All rights reserved.
Constructor and Description |
---|
SeriesSpline() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
dataAsArrayJavaObject()
An array of data points for the series.
|
SeriesSpline |
dataAsArrayJavaObject(List<Object> dataAsArrayJavaObject)
An array of data points for the series.
|
Object |
dataAsArrayJavaObjectSingle()
An array of data points for the series.
|
List<Number> |
dataAsArrayNumber()
An array of data points for the series.
|
SeriesSpline |
dataAsArrayNumber(List<Number> dataAsArrayNumber)
An array of data points for the series.
|
List<Data> |
dataAsArrayObject()
An array of data points for the series.
|
SeriesSpline |
dataAsArrayObject(List<Data> dataAsArrayObject)
An array of data points for the series.
|
Data |
dataAsArrayObjectSingle()
An array of data points for the series.
|
List<Object> |
getDataAsArrayJavaObject()
An array of data points for the series.
|
Object |
getDataAsArrayJavaObjectSingle()
An array of data points for the series.
|
List<Number> |
getDataAsArrayNumber()
An array of data points for the series.
|
List<Data> |
getDataAsArrayObject()
An array of data points for the series.
|
Data |
getDataAsArrayObjectSingle()
An array of data points for the series.
|
String |
getName()
The name of the series as shown in the legend, tooltip etc.
|
SeriesType |
getType()
The type of series, for example
line or column . |
String |
name()
The name of the series as shown in the legend, tooltip etc.
|
SeriesSpline |
name(String name)
The name of the series as shown in the legend, tooltip etc.
|
SeriesSpline |
setDataAsArrayJavaObject(List<Object> dataAsArrayJavaObject)
An array of data points for the series.
|
SeriesSpline |
setDataAsArrayNumber(List<Number> dataAsArrayNumber)
An array of data points for the series.
|
SeriesSpline |
setDataAsArrayObject(List<Data> dataAsArrayObject)
An array of data points for the series.
|
SeriesSpline |
setName(String name)
The name of the series as shown in the legend, tooltip etc.
|
SeriesSpline |
setType(SeriesType type)
The type of series, for example
line or column . |
SeriesType |
type()
The type of series, for example
line or column . |
SeriesSpline |
type(SeriesType type)
The type of series, for example
line or column . |
set_hcNulledOption
public Data dataAsArrayObjectSingle()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public List<Data> dataAsArrayObject()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline dataAsArrayObject(List<Data> dataAsArrayObject)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayObject
- the value for the dataAsArrayObject optionpublic Data getDataAsArrayObjectSingle()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public List<Data> getDataAsArrayObject()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline setDataAsArrayObject(List<Data> dataAsArrayObject)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayObject
- the value for the dataAsArrayObject optionpublic Object dataAsArrayJavaObjectSingle()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public List<Object> dataAsArrayJavaObject()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline dataAsArrayJavaObject(List<Object> dataAsArrayJavaObject)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayJavaObject
- the value for the dataAsArrayJavaObject optionpublic Object getDataAsArrayJavaObjectSingle()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public List<Object> getDataAsArrayJavaObject()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline setDataAsArrayJavaObject(List<Object> dataAsArrayJavaObject)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayJavaObject
- the value for the dataAsArrayJavaObject optionpublic List<Number> dataAsArrayNumber()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline dataAsArrayNumber(List<Number> dataAsArrayNumber)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayNumber
- the value for the dataAsArrayNumber optionpublic List<Number> getDataAsArrayNumber()
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
public SeriesSpline setDataAsArrayNumber(List<Number> dataAsArrayNumber)
An array of data points for the series. For the spline
series type, points can be given in the following ways:
An array of numerical values. In this case, the numerical values will be interpreted as y
options. The x
values will be automatically calculated, either starting at 0 and incremented by 1, or from pointStart
and pointInterval
given in the series options. If the axis has categories, these will be used. Example:
data: [0, 5, 3, 5]
An array of arrays with 2 values. In this case, the values correspond to x,y
. If the first value is a string, it is applied as the name of the point, and the x
value is inferred.
data: [ [0, 9], [1, 2], [2, 8] ]
An array of objects with named values. The objects are point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.
data: [{ x: 1, y: 9, name: "Point2", color: "#00FF00" }, { x: 1, y: 0, name: "Point1", color: "#FF00FF" }]
dataAsArrayNumber
- the value for the dataAsArrayNumber optionpublic String name()
The name of the series as shown in the legend, tooltip etc.
public SeriesSpline name(String name)
The name of the series as shown in the legend, tooltip etc.
name
- the value for the name optionpublic String getName()
The name of the series as shown in the legend, tooltip etc.
public SeriesSpline setName(String name)
The name of the series as shown in the legend, tooltip etc.
name
- the value for the name optionpublic SeriesType type()
The type of series, for example line
or column
. By default, the series type is inherited from chart.type, so unless the chart is a combination of series types, there is no need to set it on the series level.
public SeriesSpline type(SeriesType type)
The type of series, for example line
or column
. By default, the series type is inherited from chart.type, so unless the chart is a combination of series types, there is no need to set it on the series level.
type
- the value for the type optionpublic SeriesType getType()
The type of series, for example line
or column
. By default, the series type is inherited from chart.type, so unless the chart is a combination of series types, there is no need to set it on the series level.
public SeriesSpline setType(SeriesType type)
The type of series, for example line
or column
. By default, the series type is inherited from chart.type, so unless the chart is a combination of series types, there is no need to set it on the series level.
type
- the value for the type optionCopyright © 2022. All rights reserved.