Series Options
Theseries option is one of the most important configurations in ECharts. It defines what type of chart to display and how the data should be visualized.
Overview
Each series has atype property that determines the chart type. You can use multiple series in a single chart to create combined visualizations.
Available Series Types
ECharts supports the following series types (defined in~/workspace/source/src/export/option.ts:229-253):
Cartesian Coordinate System
- line - Line chart for showing trends over time or continuous data
- bar - Bar chart for comparing values across categories
- scatter - Scatter plot for showing correlation between variables
- effectScatter - Scatter with ripple animation effects
- candlestick - Candlestick chart for financial data
- boxplot - Box plot for statistical analysis
- heatmap - Heat map for visualizing matrix data
- pictorialBar - Pictorial bar chart using custom symbols
Polar Coordinate System
- pie - Pie chart for showing proportions
- radar - Radar chart for multivariate data
Geographic Coordinate System
- map - Geographic map visualization
- lines - Lines on geographic or other coordinates
Graph & Tree
- graph - Graph/network visualization with nodes and edges
- tree - Tree diagram for hierarchical data
- treemap - Treemap for hierarchical data with nested rectangles
- sunburst - Sunburst chart for hierarchical proportions
Flow & Relationship
- sankey - Sankey diagram for flow visualization
- chord - Chord diagram for showing relationships
- themeRiver - Theme river for temporal data
Other
- funnel - Funnel chart for process stages
- gauge - Gauge chart for KPI display
- parallel - Parallel coordinates for multivariate data
- custom - Custom series with user-defined rendering
Common Series Options
All series types share these common configuration options (from~/workspace/source/src/util/types.ts:1867-1943):
Basic Options
Interaction Options
Visual Options
Animation Options
Performance Options
Dataset Options
Label Options
State Options
All series support different visual states (from~/workspace/source/src/util/types.ts:1874):
Series-Specific Options
Each series type has additional specific options. For example:Line Series
From~/workspace/source/src/chart/line/LineSeries.ts:74-135:
Bar Series
From~/workspace/source/src/chart/bar/BarSeries.ts:68-94:
Mark Components
Series can be enhanced with mark components (from~/workspace/source/src/export/option.ts:183-189):
Related Documentation
- Global Options - Top-level chart configuration
- TypeScript Types - Type definitions for TypeScript users
Source Code References
- Series type definitions:
~/workspace/source/src/export/option.ts:191-213 - Base series interface:
~/workspace/source/src/util/types.ts:1867-1943 - Series implementations:
~/workspace/source/src/chart/*/