Skip to main content

Series Types and Data

Series are the heart of any Highcharts chart. They represent the data to be visualized and determine how that data appears on the chart.

Understanding Series

A series is a collection of data points that share common properties and are visualized together. Each chart can contain multiple series.

Series Configuration

Essential series options from the TypeScript SeriesOptions interface:
Example:

Series Types

Highcharts provides numerous series types for different visualization needs:

Line Series

Display data as connected points

Column Series

Vertical bars for category comparison

Bar Series

Horizontal bars for rankings

Area Series

Filled area under line

Pie Series

Part-to-whole relationships

Scatter Series

Individual points without connection

Point Configuration

Individual points within a series can have custom properties:

Series Methods

Manipulate series dynamically after chart creation:

Data Sorting

Control how data is sorted and matched during updates:
boolean
default:false
Enable or disable data sorting for the series.
boolean
default:false
Whether to allow matching points by name in an update.
string
default:"y"
Determines what data value should be used to sort by.

Real-World Examples

TypeScript Interface Reference

Key interfaces from SeriesOptions.ts:
All series extend the base SeriesOptions interface with type-specific options. For example, pie charts add slicedOffset and line charts add step options.

Best Practices

  1. Performance - For large datasets (>1000 points), use the boost module
  2. Data Structure - Use point objects for complex configurations, simple arrays for basic data
  3. Type Safety - Leverage TypeScript interfaces for compile-time validation
  4. Updates - Use setData() for complete replacements, addPoint() for incremental updates
Avoid mixing data formats within a single series. Choose one format (simple array, coordinate array, or object array) and use it consistently.

Next Steps

Axes Configuration

Configure X and Y axes for your series

Data Handling

Advanced data loading and processing

Chart Types

Explore all available chart types

API Reference

Complete series API documentation