Back to Devexpress

Stacked Line Chart

windowsforms-9977-controls-and-libraries-chart-control-series-views-2d-series-views-point-and-line-series-views-stacked-line-chart.md

latest2.0 KB
Original Source

Stacked Line Chart

  • Jul 08, 2019
  • 2 minutes to read

Short Description

The Stacked Line chart is represented by the StackedLineSeriesView object, which belongs to Point and Line Series Views. This view displays all points from different series, but with the same argument in a stacked manner and is useful when it is necessary to compare how much each series adds to the total aggregate value for specific arguments.

A Stacked Line chart is shown in the image below. Note that this chart type is based upon the XYDiagram, and so it can be rotated to show lines either vertically or horizontally.

Note

A Stacked Line chart can display series containing data points with positive or negative values. However, a series with positive values is stacked only with other series containing positive values; and a series with negative values is stacked with other series containing negative values.

Note that if a series contains data points with both positive and negative values, it is treated as a series with positive values, while all its negative values are treated as zeros.

Chart Type Characteristics

The table below lists the main characteristics of this chart type.

FeatureValue
Series View typeStackedLineSeriesView
Diagram type2D-XYDiagram
Number of arguments per series point1
Number of values per series point1

Note

For information on which chart types can be combined with the Stacked Line Chart , refer to the Series Views Compatibility document.