Class ChartStackingLineType
Represents ChartStackingLineType class
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartStackingLineType : ChartLineType, IDisposable
Remarks
Stacking Line Charts are similar to regular line charts except that the Y values stack on top of each other in the specified series order. This helps visualize the relationship of parts to the whole.
Constructors
ChartStackingLineType()
Declaration
public ChartStackingLineType()
Fields
RequiresNegativeSeriesStackProperty
Identifies the RequiresNegativeSeriesStack dependency property.
Declaration
public static readonly DependencyProperty RequiresNegativeSeriesStackProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Flags
Gets chart type flags. This is a dependency property.
Declaration
protected override ChartType.ChartTypeFlags Flags { get; }
Property Value
Type |
---|
ChartType.ChartTypeFlags |
Overrides
Methods
CalculateSegments(ChartSeries, ChartIndexedDataPoint[])
Calculates the segments.
Declaration
protected override void CalculateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint[] | points | The points. |
Overrides
GetRequiresNegativeSeriesStack(ChartArea)
Returns whether the positive and negative series should be separately stacked.
Declaration
public static bool GetRequiresNegativeSeriesStack(ChartArea area)
Parameters
Type | Name | Description |
---|---|---|
ChartArea | area | The ChartArea where the stacking should happen. |
Returns
Type | Description |
---|---|
System.Boolean | True indicates the positive and negative series are stacked separately. |
SetRequiresNegativeSeriesStack(ChartArea, Boolean)
Specifies that the positive and negative series should be separately stacked.
Declaration
public static void SetRequiresNegativeSeriesStack(ChartArea area, bool value)
Parameters
Type | Name | Description |
---|---|---|
ChartArea | area | The ChartArea where the stacking should happen. |
System.Boolean | value | True to stack separately, false otherwise. |
See Also
ToString()
Converts ChartStackingLineType to string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string |
Overrides
See Also
UpdateSegments(ChartSeries, ChartIndexedDataPoint[])
Updates the segments.
Declaration
protected override void UpdateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The Chart Series |
Syncfusion.Windows.Chart.ChartIndexedDataPoint[] | points | The series points |