Class ChartPyramidType
Represents ChartPyramidType class
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartPyramidType : ChartType, IDisposable
Remarks
Pyramid chart is similar to the funnel chart. Its often used for geographical purposes. The Pyramid Chart type displays the data which when totalled will be 100%. This type of chart is a single series chart representing the data as portions of 100%, and this chart does not use any axes.
Constructors
ChartPyramidType()
Declaration
public ChartPyramidType()
Fields
GapRatioProperty
Identifies the GapRatio dependency property.
Declaration
public static readonly DependencyProperty GapRatioProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PyramidModeProperty
Identifies the PyramidMode dependency property.
Declaration
public static readonly DependencyProperty PyramidModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AxesType
Gets axes type that are required for chart to be built.
Declaration
public override ChartAxesType AxesType { get; }
Property Value
Type |
---|
ChartAxesType |
Overrides
Flags
Gets chart type flags. This is a dependency property.
Declaration
protected override ChartType.ChartTypeFlags Flags { get; }
Property Value
Type | Description |
---|---|
ChartType.ChartTypeFlags | The flags. |
Overrides
Methods
Calculate(ChartSeries)
Calculates the segments of specified series.
Declaration
public override void Calculate(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Overrides
GetExplodedIndex(ChartSeries)
Gets the exploded indices.
Declaration
public static int GetExplodedIndex(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
System.Int32 | The Exploded Index |
GetGapRatio(ChartSeries)
Gets the gap ratio.
Declaration
public static double GetGapRatio(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
System.Double | The Gap Ratio |
GetPyramidMode(ChartSeries)
Gets the pyramid mode.
Declaration
public static ChartPyramidMode GetPyramidMode(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
ChartPyramidMode | The PyramidMode |
GetSurfaceHeight(Double, Double)
Gets the height of the surface.
Declaration
public static double GetSurfaceHeight(double y, double surface)
Parameters
Type | Name | Description |
---|---|---|
System.Double | y | The y value. |
System.Double | surface | The surface. |
Returns
Type | Description |
---|---|
System.Double | The Surface Height |
IsCompatible(ChartType)
Determines whether the this type is compatible with specified type.
Declaration
public override bool IsCompatible(ChartType type)
Parameters
Type | Name | Description |
---|---|---|
ChartType | type | The type value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
SetExplodedIndex(ChartSeries, Int32)
Sets the exploded indices.
Declaration
public static void SetExplodedIndex(ChartSeries series, int value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
System.Int32 | value | The value. |
SetGapRatio(ChartSeries, Double)
Sets the gap ratio.
Declaration
public static void SetGapRatio(ChartSeries series, double value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
System.Double | value | The value. |
SetPyramidMode(ChartSeries, ChartPyramidMode)
Sets the pyramid mode.
Declaration
public static void SetPyramidMode(ChartSeries series, ChartPyramidMode value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
ChartPyramidMode | value | The value. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
See Also
Update(ChartSeries)
Updates the segments.
Declaration
public override void Update(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The ChartSeries |