This section describes the fields that can be used in code to manipulate the Series object.
Provides information about the state of the series object.
Each series within a chart can be in several states. These states are represented by the numbers that are enumerated in the list below:
Series is not hovered and not selected (normal state);
Series is hovered;
Series is selected;
Series is hovered and selected.
You can also use the isHovered() and isSelected() series methods to check whether a series is hovered or selected.
In this example, the series' fullState field is used to implement the unselecting of a selected series. The function, which is assigned to the pointClick option, checks the current state of the clicked series. If the series is selected, the selection will be removed using the clearSelection() method. Otherwise, the series will be selected using the series' select() method.
Returns the type of the series.
To learn about different series types, refer to the Series help section.