In this example, the series' fullState field is used to implement the unselecting of a selected series. The function, which is assigned to the onPointClick 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.

name

Returns the name of the series.

Type: any

tag

When defining a series, you can specify auxiliary information for it via the tag option. You can specify auxiliary information for each point as well. To do this, add a tag field to the data source and specify the name of the field via the series tagField option.