MindFusion.Charting Programmer's Guide

LineChart.Stacked Property

See Also
 





Gets or sets whether multi series charts are drawn stacked.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public bool Stacked { get; set; }

Visual Basic  Copy Code

Public Property Stacked As Boolean

 Property Value

A bool value, which specifies if the line chart is stacked.

 Remarks

When 3D line charts have multiple series they are normally drawn one behind the other with distance between them set with DistBtwSeries. The graphics can also be drawn in a block, for example stacked. The property is not useful when the chart is 2D. There is no limitation as to the chart type -  bubble, scatter, area, line and so on.

The charts are drawn in the same order as their data has been added to the XData, YData and Y2Data properties. You can set a different sort order with SortSeriesBy.

Default value for the Stacked property is false.

 See Also