menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FunnelSeries - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FunnelSeries

    Represents a series which displays data in a funnel shape that equals to 100% when totaled, and its plots streamlined data to show various stages in a process.

    Inheritance
    System.Object
    ChartSeriesBase
    ChartSeries
    AdornmentSeries
    AccumulationSeriesBase
    TriangularSeriesBase
    FunnelSeries
    Implements
    ICloneable
    ISegmentSelectable
    Inherited Members
    AccumulationSeriesBase.ExplodeAll
    AccumulationSeriesBase.ExplodeAllProperty
    AccumulationSeriesBase.ExplodeIndex
    AccumulationSeriesBase.ExplodeIndexProperty
    AccumulationSeriesBase.ExplodeOnMouseClick
    AccumulationSeriesBase.ExplodeOnMouseClickProperty
    AccumulationSeriesBase.GeneratePoints()
    AccumulationSeriesBase.OnBindingPathChanged(DependencyPropertyChangedEventArgs)
    AccumulationSeriesBase.OnDataSourceChanged(IEnumerable, IEnumerable)
    AccumulationSeriesBase.OnSeriesMouseDown(Object, Point)
    AccumulationSeriesBase.OnSeriesMouseUp(Object, Point)
    AccumulationSeriesBase.SegmentSelectionBrush
    AccumulationSeriesBase.SegmentSelectionBrushProperty
    AccumulationSeriesBase.SelectedIndex
    AccumulationSeriesBase.SelectedIndexChanged(Int32, Int32)
    AccumulationSeriesBase.SelectedIndexProperty
    AccumulationSeriesBase.SelectedSegment
    AccumulationSeriesBase.SelectedSegments
    AccumulationSeriesBase.SetExplodeAll()
    AccumulationSeriesBase.SetExplodeRadius()
    AccumulationSeriesBase.YBindingPath
    AccumulationSeriesBase.YBindingPathProperty
    AccumulationSeriesBase.YValues
    AdornmentSeries.AddAdornmentAtXY(Double, Double, Int32)
    AdornmentSeries.AddAreaAdornments(IList<Double>[])
    AdornmentSeries.AddColumnAdornments(Double[])
    AdornmentSeries.AdornmentLabelCreated
    AdornmentSeries.AdornmentsInfo
    AdornmentSeries.AdornmentsInfoProperty
    AdornmentSeries.ClearUnUsedAdornments(Int32)
    AdornmentSeries.OnApplyTemplate()
    ChartSeries.Area
    ChartSeries.GetDataPointIndex(Double, Double)
    ChartSeries.Stroke
    ChartSeries.StrokeProperty
    ChartSeries.StrokeThickness
    ChartSeries.StrokeThicknessProperty
    ChartSeriesBase.ActualXAxis
    ChartSeriesBase.ActualXValues
    ChartSeriesBase.ActualYAxis
    ChartSeriesBase.Adornments
    ChartSeriesBase.AnimationDuration
    ChartSeriesBase.AnimationDurationProperty
    ChartSeriesBase.ChartTransformer
    ChartSeriesBase.ClearUnUsedSegments(Int32)
    ChartSeriesBase.Clone()
    ChartSeriesBase.ColorModel
    ChartSeriesBase.ColorModelProperty
    ChartSeriesBase.ColorValues
    ChartSeriesBase.CreateEmptyPointSegments(IList<Double>, List<List<Double>>, List<List<Double>>)
    ChartSeriesBase.DataCount
    ChartSeriesBase.EmptyPointInterior
    ChartSeriesBase.EmptyPointInteriorProperty
    ChartSeriesBase.EmptyPointStyle
    ChartSeriesBase.EmptyPointStyleProperty
    ChartSeriesBase.EmptyPointSymbolTemplate
    ChartSeriesBase.EmptyPointSymbolTemplateProperty
    ChartSeriesBase.EmptyPointValue
    ChartSeriesBase.EmptyPointValueProperty
    ChartSeriesBase.EnableAnimation
    ChartSeriesBase.EnableAnimationProperty
    ChartSeriesBase.FindNearestChartPoint(Point, Double, Double, Double)
    ChartSeriesBase.GeneratePoints(String[], IList<Double>[])
    ChartSeriesBase.GetAvailableSize()
    ChartSeriesBase.GetPreviousSeries(ChartSeriesBase)
    ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase)
    ChartSeriesBase.GetSpacing(DependencyObject)
    ChartSeriesBase.GetXValues()
    ChartSeriesBase.InitialDelayTimer
    ChartSeriesBase.Interior
    ChartSeriesBase.InteriorProperty
    ChartSeriesBase.Invalidate()
    ChartSeriesBase.IsAreaTypeSeries
    ChartSeriesBase.IsBitmapSeries
    ChartSeriesBase.IsColorPathSeries
    ChartSeriesBase.IsIndexed
    ChartSeriesBase.IsLinear
    ChartSeriesBase.IsSeriesVisible
    ChartSeriesBase.IsSeriesVisibleProperty
    ChartSeriesBase.IsSideBySide
    ChartSeriesBase.IsSortData
    ChartSeriesBase.IsSortDataProperty
    ChartSeriesBase.IsStacked
    ChartSeriesBase.IsTooltipAvailable(Canvas)
    ChartSeriesBase.ItemsSource
    ChartSeriesBase.ItemsSourceProperty
    ChartSeriesBase.Label
    ChartSeriesBase.LabelProperty
    ChartSeriesBase.LegendIcon
    ChartSeriesBase.LegendIconProperty
    ChartSeriesBase.LegendIconTemplate
    ChartSeriesBase.LegendIconTemplateProperty
    ChartSeriesBase.ListenPropertyChange
    ChartSeriesBase.ListenPropertyChangeProperty
    ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.OnPointerExited(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerMoved(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerPressed(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerReleased(PointerRoutedEventArgs)
    ChartSeriesBase.OnTapped(TappedRoutedEventArgs)
    ChartSeriesBase.Palette
    ChartSeriesBase.PaletteProperty
    ChartSeriesBase.Position(Point, ChartTooltip)
    ChartSeriesBase.PropertyChanged
    ChartSeriesBase.ResumeNotification()
    ChartSeriesBase.SegmentColorPath
    ChartSeriesBase.SegmentColorPathProperty
    ChartSeriesBase.Segments
    ChartSeriesBase.SelectedSegmentsIndexes
    ChartSeriesBase.SeriesSelectionBrush
    ChartSeriesBase.SeriesSelectionBrushProperty
    ChartSeriesBase.SetDoubleAnimation(ChartTooltip)
    ChartSeriesBase.SetIndividualDataTablePoint(Int32, Object, Boolean)
    ChartSeriesBase.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeriesBase.SetSpacing(DependencyObject, Double)
    ChartSeriesBase.SetTooltipDuration()
    ChartSeriesBase.ShowEmptyPoints
    ChartSeriesBase.ShowEmptyPointsProperty
    ChartSeriesBase.ShowTooltip
    ChartSeriesBase.ShowTooltipProperty
    ChartSeriesBase.SortBy
    ChartSeriesBase.SortByProperty
    ChartSeriesBase.SortDirection
    ChartSeriesBase.SortDirectionProperty
    ChartSeriesBase.SpacingProperty
    ChartSeriesBase.SuspendNotification()
    ChartSeriesBase.Timer
    ChartSeriesBase.TooltipTemplate
    ChartSeriesBase.TooltipTemplateProperty
    ChartSeriesBase.TrackBallLabelTemplate
    ChartSeriesBase.TrackBallLabelTemplateProperty
    ChartSeriesBase.UpdateArea()
    ChartSeriesBase.UpdateSegments(Int32, NotifyCollectionChangedAction)
    ChartSeriesBase.VisibilityOnLegend
    ChartSeriesBase.VisibilityOnLegendProperty
    ChartSeriesBase.XBindingPath
    ChartSeriesBase.XBindingPathProperty
    ChartSeriesBase.YPaths
    TriangularSeriesBase.ExplodeOffset
    TriangularSeriesBase.ExplodeOffsetProperty
    TriangularSeriesBase.GapRatio
    TriangularSeriesBase.GapRatioProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public class FunnelSeries : TriangularSeriesBase, ICloneable, ISegmentSelectable
    Remarks

    It is a single series, representing data as portions of 100% and does not use any axes.

    Examples
    • MainWindow.xaml
    • MainWindow.cs
    • ViewModel.cs
        <chart:SfChart>
    
             <chart:SfChart.DataContext>
               <local:ViewModel/>
             </chart:SfChart.DataContext>
    
             <chart:FunnelSeries
                  ItemsSource="{Binding Data}"
                  XBindingPath="XValue"
                  YBindingPath="YValue"/>
    
        </chart:SfChart>
        SfChart chart = new SfChart();
    
        ViewModel viewmodel = new ViewModel();
    
        FunnelSeries series = new FunnelSeries();
        series.ItemsSource = viewmodel.Data;
        series.XBindingPath = "XValue";
        series.YBindingPath = "YValue";
        chart.Series.Add(series);
    public ObservableCollection<Model> Data { get; set; }
    
    public ViewModel()
    {
       Data = new ObservableCollection<Model>();
       Data.Add(new Model() { XValue = 10, YValue = 100 });
       Data.Add(new Model() { XValue = 20, YValue = 150 });
       Data.Add(new Model() { XValue = 30, YValue = 110 });
       Data.Add(new Model() { XValue = 40, YValue = 230 });
    }

    Constructors

    FunnelSeries()

    Initializes a new instance of the FunnelSeries class.

    Declaration
    public FunnelSeries()

    Fields

    FunnelModeProperty

    Identifies the FunnelMode dependency property.

    Declaration
    public static readonly DependencyProperty FunnelModeProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    The identifier for FunnelMode dependency property.

    MinWidthProperty

    Identifies the MinWidth dependency property.

    Declaration
    public static readonly DependencyProperty MinWidthProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    The identifier for MinWidth dependency property.

    Properties

    FunnelMode

    Gets or sets a value indicating whether the y value should interpret the height or width of the funnel block.

    Declaration
    public ChartFunnelMode FunnelMode { get; set; }
    Property Value
    Type Description
    ChartFunnelMode

    One of the ChartFunnelMode enumeration values. The default value is ValueIsHeight.

    MinWidth

    Gets or sets the minimum width for the funnel block.

    Declaration
    public double MinWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Default value is 40.

    Methods

    CloneSeries(DependencyObject)

    Returns the instance of FunnelSeries series.

    Declaration
    protected override DependencyObject CloneSeries(DependencyObject obj)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyObject obj

    object

    Returns
    Type
    Windows.UI.Xaml.DependencyObject
    Overrides
    TriangularSeriesBase.CloneSeries(DependencyObject)

    CreateAdornment(AdornmentSeries, Double, Double, Double, Double)

    Creates the adornment of FunnelSeries.

    Declaration
    protected override ChartAdornment CreateAdornment(AdornmentSeries series, double xVal, double yVal, double height, double currY)
    Parameters
    Type Name Description
    AdornmentSeries series

    Series instance.

    System.Double xVal

    Used to specify the xvalue.

    System.Double yVal

    Used to specify the yvalue.

    System.Double height

    Used to specify the height.

    System.Double currY

    Used to specify the yposition.

    Returns
    Type Description
    ChartAdornment

    returns ChartAdornment

    Overrides
    AdornmentSeries.CreateAdornment(AdornmentSeries, Double, Double, Double, Double)

    CreateSegment()

    Creates an instance of series segment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns the instance of corresponding series segment.

    Overrides
    ChartSeries.CreateSegment()
    Remarks

    This customization is not supported for fast type series and technical indicators.

    Examples

    This sample shows how to call the CreateSegment() method to customize the line series segments.

    public class LineSeriesExt : LineSeries
    {​ 
        protected override ChartSegment CreateSegment()
        {​
            return new LineSegmentExt();
        }​
    }​
    
    public class LineSegmentExt : LineSegment
    {​
        public override UIElement CreateVisual(Size size)
        {​
            // Write your customization code here.
        }​
    
        public override void Update(IChartTransformer transformer)
        {​
            // Write your customization code here.
        }​
    }

    CreateSegments()

    Creates the segments of FunnelSeries.

    Declaration
    public override void CreateSegments()
    Overrides
    AdornmentSeries.CreateSegments()

    CreateTransformer(Size, Boolean)

    Return IChartTranform value based upon the given size.

    Declaration
    protected override IChartTransformer CreateTransformer(Size size, bool create)
    Parameters
    Type Name Description
    Windows.Foundation.Size size

    Size of the panel.

    System.Boolean create

    Used to specify whether to create the charttransform for not.

    Returns
    Type Description
    Syncfusion.UI.Xaml.Charts.IChartTransformer

    returns IChartTransformer

    Overrides
    ChartSeriesBase.CreateTransformer(Size, Boolean)

    SetExplodeIndex(Int32)

    Method implementation for ExplodeIndex.

    Declaration
    protected override void SetExplodeIndex(int i)
    Parameters
    Type Name Description
    System.Int32 i

    Exploded segment index.

    Overrides
    AccumulationSeriesBase.SetExplodeIndex(Int32)

    Implements

    ICloneable
    ISegmentSelectable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)

    See Also

    FunnelSegment
    PyramidSegment
    PyramidSeries
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved