menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WaterfallSeries - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class WaterfallSeries

    WaterfallSeries displays its positive and negative data points using a set of bars. To render a waterfall chart, create an instance of the WaterfallSeries class and add it to Series the collection property and set the required properties.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    XyDataSeries
    WaterfallSeries
    Inherited Members
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(Rectangle)
    CartesianSeries.IsTransposed
    CartesianSeries.IsTransposedProperty
    CartesianSeries.OnBindingContextChanged()
    CartesianSeries.OnParentSet()
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ShowTrackballInfoProperty
    CartesianSeries.TrackballLabelTemplate
    CartesianSeries.TrackballLabelTemplateProperty
    CartesianSeries.Trendlines
    CartesianSeries.TrendlinesProperty
    CartesianSeries.XAxis
    CartesianSeries.XAxisProperty
    CartesianSeries.YAxis
    CartesianSeries.YAxisProperty
    ChartSeries.Animate()
    ChartSeries.AnimationDuration
    ChartSeries.AnimationDurationProperty
    ChartSeries.Color
    ChartSeries.ColorModel
    ChartSeries.ColorModelProperty
    ChartSeries.ColorProperty
    ChartSeries.DataMarker
    ChartSeries.DataMarkerLabelCreated
    ChartSeries.DataMarkerProperty
    ChartSeries.EnableAnimation
    ChartSeries.EnableAnimationProperty
    ChartSeries.EnableDataPointSelection
    ChartSeries.EnableDataPointSelectionProperty
    ChartSeries.EnableTooltip
    ChartSeries.EnableTooltipProperty
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.IsSelected
    ChartSeries.IsVisible
    ChartSeries.IsVisibleOnLegend
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.IsVisibleProperty
    ChartSeries.ItemsSource
    ChartSeries.ItemsSourceProperty
    ChartSeries.Label
    ChartSeries.LabelProperty
    ChartSeries.LegendIcon
    ChartSeries.LegendIconProperty
    ChartSeries.ListenPropertyChange
    ChartSeries.ListenPropertyChangeProperty
    ChartSeries.Opacity
    ChartSeries.OpacityProperty
    ChartSeries.ResumeNotification()
    ChartSeries.SelectedDataPointColor
    ChartSeries.SelectedDataPointColorProperty
    ChartSeries.SelectedDataPointIndex
    ChartSeries.SelectedDataPointIndexProperty
    ChartSeries.StrokeWidth
    ChartSeries.StrokeWidthProperty
    ChartSeries.SuspendNotification()
    ChartSeries.TooltipTemplate
    ChartSeries.TooltipTemplateProperty
    ChartSeries.XBindingPath
    ChartSeries.XBindingPathProperty
    XyDataSeries.GetChartDataPoints()
    XyDataSeries.YBindingPath
    XyDataSeries.YBindingPathProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class WaterfallSeries : XyDataSeries, IThemeElement
    Remarks

    WaterfallSeries requires the ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.

    Examples
    SfChart chart = new SfChart();
    chart.PrimaryAxis = new CategoryAxis();
    chart.SecondaryAxis = new NumericalAxis();
    WaterfallSeries series = new WaterfallSeries();
    ObservableCollection<Model> Data = new ObservableCollection<Model>
    {
    new ChartDataPoint("Product Revenue",200),
    new ChartDataPoint("Fixed Cost",-400),
    new ChartDataPoint("Variable Cost",-500),
    new ChartDataPoint("Profit",500)
    };
    series.ItemsSource = Data;
    chart.Series.Add(series);

    Constructors

    WaterfallSeries()

    Declaration
    public WaterfallSeries()

    Fields

    AllowAutoSumProperty

    Gets or sets a value that defines the segment has been drawn based on the sum value of previous segments or not. This is a bindable property.

    Declaration
    public static readonly BindableProperty AllowAutoSumProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ConnectorLineStyleProperty

    Gets or sets a value that defines the style of connector line. This is a bindable property.

    Declaration
    public static readonly BindableProperty ConnectorLineStyleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    DataMarkerPositionProperty

    Gets or sets the position of data markers in series. This is a bindable property.

    Declaration
    public static readonly BindableProperty DataMarkerPositionProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    NegativeSegmentColorProperty

    Gets or sets a value that defines the color of negative segment. This is a bindable property.

    Declaration
    public static readonly BindableProperty NegativeSegmentColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ShowConnectorLineProperty

    Gets or sets a value that defines whether the connector line between the segments has been enabled or not. This is a bindable property.

    Declaration
    public static readonly BindableProperty ShowConnectorLineProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SpacingProperty

    Gets or sets a value that defines the spacing between the segments. This is a bindable property.

    Declaration
    public static readonly BindableProperty SpacingProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SummaryBindingPathProperty

    Gets or sets a value that defines the collection of SummaryBindingPath model values. This is a bindable property.

    Declaration
    public static readonly BindableProperty SummaryBindingPathProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SummarySegmentColorProperty

    Gets or sets a value that defines the color of intermediate sum segment. This is a bindable property.

    Declaration
    public static readonly BindableProperty SummarySegmentColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WidthProperty

    Gets or sets a value for each segment's width. This is a bindable property.

    Declaration
    public static readonly BindableProperty WidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    AllowAutoSum

    Gets or sets a value indicating whether to auto sum.

    Declaration
    public bool AllowAutoSum { get; set; }
    Property Value
    Type
    System.Boolean

    ConnectorLineStyle

    Gets or sets the style value that indicates the visual representation of segments connector line.

    Declaration
    public ChartLineStyle ConnectorLineStyle { get; set; }
    Property Value
    Type
    ChartLineStyle

    DataMarkerPosition

    Gets or sets the position of data markers in series. This is a bindable property.

    Declaration
    public DataMarkerPosition DataMarkerPosition { get; set; }
    Property Value
    Type Description
    DataMarkerPosition

    This property takes the DataMarkerPosition as its value.

    NegativeSegmentColor

    Gets or sets the color value that indicates the interior color of negative segment.

    Declaration
    public Color NegativeSegmentColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    ShowConnectorLine

    Gets or sets a value indicating whether the connector line of segments is visible or not.

    Declaration
    public bool ShowConnectorLine { get; set; }
    Property Value
    Type
    System.Boolean

    Spacing

    Gets or sets the spacing between the segments across the series in cluster mode.

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

    SummaryBindingPath

    Gets or sets a string that indicates sum of segment of series.

    Declaration
    public string SummaryBindingPath { get; set; }
    Property Value
    Type
    System.String

    SummarySegmentColor

    Gets or sets the color value that indicates the consolidated segment's interior.

    Declaration
    public Color SummarySegmentColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    Width

    Gets or sets the width of each segment.

    Declaration
    public double Width { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved