Highcharts

Start your Highcharts journey today

立即试用
立即购买
Skip to Content

Stream graph

A stream graph is a type of stacked area graph which is displaced around a central axis, resulting in a flowing and organic shape.

For more detailed samples and documentation check the API. 

Data structure

The data of a stream graph is simply set as Y values and possibly X values. Each band in the stream graph represents a series, and the series  are stacked against each other.

series: [{ "name": "Finland", "data": [ 0, 11, 4, 3, 6, 0, 0, 6 ] }, { "name": "Austria", "data": [ 0, 3, 4, 2, 4, 0, 0, 8, 8 ] }, { "name": "Sweden", "data": [ 0, 2, 5, 3, 7, 0, 0, 10, 4 ] }]

Labelling

Thanks to the series-label module, Highcharts allows applying labels in the best-fit position on top of the stream items, maximizing the legibility and quick perception of the data.