public class Series extends BaseOption
General options for all series types.
In TypeScript the type option must always be set.
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) 2020 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.
|
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 static final Series NULL
public 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
.
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
.
label
- the value for the label 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.