Revisiting the series configuration
By now, we should have an idea of what series properties do. In this section we are going to examine it in more detail.
The
series
property is an array of series configuration objects that contain data- and series-specific options. It allows us to specify single series data and multiple series data. The purpose of series objects is to inform Highcharts of the format of the data and how the data is presented in the chart.
All the data values in the chart are specified through the data
field. The data
field is highly flexible, and it can take an array in a number of forms, as follows:
Numerical values
An array with x and y values
Point object with properties describing the data point
The first two options have already been examined in the Accessing axis data type section. In this section we will explore the third option. Let's use the single series Nasdaq example and we will specify the series data through a mixture of numerical values and objects:
series...