This section explores customization of individual series items and markers based on data they represent.
When it comes to formatters, all series can be divided into two categories:
series with markers, such as
area, where each data point is represented by a marker that can be of any shape
series without markers, such as
pie, where each data point is represented by a series item with a fixed shape, for example a rectangle or a pie sector
Marker formatter example
If we take a stacked area series where we want the markers of the second subseries to be larger than default size, we could use the following formatter function:
Series item formatter example
If we have a list of values by country presented via bar series and want the bar for a particular country to stand out, we could use the following formatter function:
Please use API reference to learn more about the marker and series formatters, the inputs they receive and the attributes they allow to customize.
Continue to the next section to learn about tooltips.