Class TriangularSeriesBase
Represents a base class for funnel and pyramid series. This type of chart is triangle with lines dividing it into sections to illustrate numerical proportions..
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class TriangularSeriesBase : AccumulationSeriesBase, ICloneable
Constructors
TriangularSeriesBase()
Declaration
protected TriangularSeriesBase()
Fields
ExplodeOffsetProperty
Identifies the ExplodeOffset
dependency property.
Declaration
public static readonly DependencyProperty ExplodeOffsetProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for |
GapRatioProperty
Identifies the GapRatio
dependency property.
Declaration
public static readonly DependencyProperty GapRatioProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for |
Properties
ExplodeOffset
Gets or sets the distance where the segment is exploded from its origination positions when ExplodeAll
is true or ExplodeIndex
value is given.
Declaration
public double ExplodeOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Default value is 40. |
GapRatio
Gets or sets the ratio of distance between the funnel or pyramid segment blocks.
Declaration
public double GapRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Default value is 0 and its value ranges from 0 to 1. |
Remarks
Its used to provide the spacing between the segments.
Examples
<chart:SfChart>
<chart:SfChart.DataContext>
<local:ViewModel/>
</chart:SfChart.DataContext>
<chart:FunnelSeries
GapRatio="0.5"
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfChart>
Methods
CloneSeries(DependencyObject)
Returns the instance of TriangularSeriesBase series.
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | object |
Returns
Type |
---|
System.Windows.DependencyObject |