Class ChartStackingLine100Type
Represents stacking 100% line type.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartStackingLine100Type : ChartStackingLineType, IDisposable
Remarks
In the 100 % Stacked Line Chart, the cumulative proportion of each stacked element always totals 100%. This type of chart is great to visualize the relative contribution of each series values to the whole.
Constructors
ChartStackingLine100Type()
Declaration
public ChartStackingLine100Type()
Fields
RequiresNegativeSeriesStackProperty
Identifies the RequiresNegativeSeriesStack dependency property.
Declaration
public static readonly DependencyProperty RequiresNegativeSeriesStackProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowValueAsProbabilityProperty
Identifies ShowValueAsProbability attached dependency property.
Declaration
public static readonly DependencyProperty ShowValueAsProbabilityProperty
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. |
GetShowValueAsProbability(ChartArea)
Gets the show value as probability.
Declaration
public static bool GetShowValueAsProbability(ChartArea area)
Parameters
Type | Name | Description |
---|---|---|
ChartArea | area | The area value. |
Returns
Type | Description |
---|---|
System.Boolean | True is the value is to be displayed as probability |
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
SetShowValueAsProbability(ChartArea, Boolean)
Sets the show value as probability.
Declaration
public static void SetShowValueAsProbability(ChartArea area, bool value)
Parameters
Type | Name | Description |
---|---|---|
ChartArea | area | The ChartArea. |
System.Boolean | value | if set to |
ToString()
Converts ChartStackingLine100Type 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 |