public class Series extends BaseOption
General options for all series types.
Configuration options for the series are given in three levels:
line
series are defined in plotOptions.line.Highcharts.chart('container', { plotOptions: { series: { // general options for all series }, line: { // shared options for all line series } }, series: [{ // specific options for this series instance type: 'line' }] });Copyright (c) 2019 Powerbuilt Systems. All rights reserved.
Constructor and Description |
---|
Series() |
Modifier and Type | Method and Description |
---|---|
Label |
getLabel()
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series.
|
Number |
getPointStart()
If no x values are given for the points in a series, pointStart defines on what value to start.
|
Label |
label()
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series.
|
Series |
label(Label label)
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series.
|
Number |
pointStart()
If no x values are given for the points in a series, pointStart defines on what value to start.
|
Series |
pointStart(Number pointStart)
If no x values are given for the points in a series, pointStart defines on what value to start.
|
Series |
setLabel(Label label)
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series.
|
Series |
setPointStart(Number pointStart)
If no x values are given for the points in a series, pointStart defines on what value to start.
|
set_hcNulledOption
public Label label()
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series. The goal of this feature is to make the chart more easily readable, like if a human designer placed the labels in the optimal position.
The series labels currently work with series types having a graph
or an area
.
Requires the series-label.js
module.
public Series label(Label label)
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series. The goal of this feature is to make the chart more easily readable, like if a human designer placed the labels in the optimal position.
The series labels currently work with series types having a graph
or an area
.
Requires the series-label.js
module.
label
- the value for the label optionpublic Label getLabel()
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series. The goal of this feature is to make the chart more easily readable, like if a human designer placed the labels in the optimal position.
The series labels currently work with series types having a graph
or an area
.
Requires the series-label.js
module.
public Series setLabel(Label label)
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series. The goal of this feature is to make the chart more easily readable, like if a human designer placed the labels in the optimal position.
The series labels currently work with series types having a graph
or an area
.
Requires the series-label.js
module.
label
- the value for the label optionpublic Number pointStart()
If no x values are given for the points in a series, pointStart defines on what value to start. For example, if a series contains one yearly value starting from 1945, set pointStart to 1945.
public Series pointStart(Number pointStart)
If no x values are given for the points in a series, pointStart defines on what value to start. For example, if a series contains one yearly value starting from 1945, set pointStart to 1945.
pointStart
- the value for the pointStart optionpublic Number getPointStart()
If no x values are given for the points in a series, pointStart defines on what value to start. For example, if a series contains one yearly value starting from 1945, set pointStart to 1945.
public Series setPointStart(Number pointStart)
If no x values are given for the points in a series, pointStart defines on what value to start. For example, if a series contains one yearly value starting from 1945, set pointStart to 1945.
pointStart
- the value for the pointStart optionCopyright © 2022. All rights reserved.