MindFusion.Charting Programmer's Guide

LineChart.Stacked Property

See Also
 





Gets or sets whether multi series charts are drawn stacked.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public bool Stacked { get; }

Visual Basic  Copy Code

Public ReadOnly Property Stacked As Boolean

 Property Value

A bool value; true if 3D line charts are drawn stacked; otherwise false.

 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