class Series extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
series
- Alphabetic
- By Inheritance
- Series
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Series()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
data: UndefOr[Array[|[|[Object, Array[Any]], Double]]]
An array of data points for the series.
An array of data points for the series. The points can be given in three ways:
- An array of numerical values. In this case, the numerical values will
be interpreted as y values, and x values will be automatically calculated,
either starting at 0 and incrementing by 1, or from
pointStart
andpointInterval
given in the plotOptions. If the axis is has categories, these will be used. This option is not available for range series. Example:data: [0, 5, 3, 5]
-
An array of arrays with two values. In this case, the first value is the x value and the second is the y value. If the first value is a string, it is applied as the name of the point, and the x value is incremented following the above rules.
For range series, the arrays will be interpreted as
[x, low, high]
. In this cases, the X value can be skipped altogether to make use ofpointStart
andpointRange
.Example:
data: [[5, 2], [6, 3], [8, 2]]
-
An array of objects with named values. In this case the objects are point configuration objects as seen below.
Range series values are given by
low
andhigh
.Example:
data: [{ name: 'Point 1', color: '#00FF00', y: 0 }, { name: 'Point 2', color: '#FF00FF', y: 5 }]
Note that line series and derived types like spline and area, require data to be sorted by X because it interpolates mouse coordinates for the tooltip. Column and scatter series, where each point has its own mouse event, does not require sorting.
- An array of numerical values. In this case, the numerical values will
be interpreted as y values, and x values will be automatically calculated,
either starting at 0 and incrementing by 1, or from
-
val
dataParser: UndefOr[Function]
This method is deprecated as of version 2.0.
This method is deprecated as of version 2.0. Instead, use options preprocessing as described in the docs.
-
val
dataURL: UndefOr[String]
This method is deprecated as of version 2.0.
This method is deprecated as of version 2.0. Instead, load the data using jQuery.ajax and use options preprocessing as described in the docs.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
id: UndefOr[String]
An id for the series.
An id for the series. This can be used after render time to get a pointer to the series object through
chart.get()
.- Since
1.2.0
Example: -
val
index: UndefOr[Double]
The index of the series in the chart, affecting the internal index in the
chart.series
array, the visible Z index as well as the order in the legend.The index of the series in the chart, affecting the internal index in the
chart.series
array, the visible Z index as well as the order in the legend.- Since
2.3.0
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
legendIndex: UndefOr[Double]
The sequential index of the series in the legend.
The sequential index of the series in the legend.
Try it: Legend in opposite order .
-
val
name: UndefOr[String]
The name of the series as shown in the legend, tooltip etc.
The name of the series as shown in the legend, tooltip etc.
Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
stack: UndefOr[String]
This option allows grouping series in a stacked chart.
This option allows grouping series in a stacked chart. The stack option can be a string or a number or anything else, as long as the grouped series' stack options match each other.
- Since
2.1
Example: -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
type: UndefOr[String]
The type of series.
The type of series. Can be one of
area
,areaspline
,bar
,column
,line
,pie
,scatter
orspline
. From version 2.3,arearange
,areasplinerange
andcolumnrange
are supported with the highcharts-more.js component.Example: -
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
xAxis: UndefOr[|[Double, String]]
When using dual or multiple x axes, this number defines which xAxis the particular series is connected to.
When using dual or multiple x axes, this number defines which xAxis the particular series is connected to. It refers to either the axis id or the index of the axis in the xAxis array, with 0 being the first.
-
val
yAxis: UndefOr[|[Double, String]]
When using dual or multiple y axes, this number defines which yAxis the particular series is connected to.
When using dual or multiple y axes, this number defines which yAxis the particular series is connected to. It refers to either the axis id or the index of the axis in the yAxis array, with 0 being the first.
-
val
zIndex: UndefOr[Double]
Define the visual z index of the series.
Define the visual z index of the series.