menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class PyramidSeries

    To render a pyramid chart, create an instance of the PyramidSeries class, and add it to Series collection property and set the required properties.

    Inheritance
    System.Object
    ChartSeries
    AccumulationSeries
    TriangularSeries
    PyramidSeries
    Inherited Members
    AccumulationSeries.ExplodeAll
    AccumulationSeries.ExplodeAllProperty
    AccumulationSeries.ExplodeIndex
    AccumulationSeries.ExplodeIndexProperty
    AccumulationSeries.ExplodeOnTouch
    AccumulationSeries.ExplodeOnTouchProperty
    AccumulationSeries.GetChartDataPoints()
    AccumulationSeries.StrokeColor
    AccumulationSeries.StrokeColorProperty
    AccumulationSeries.YBindingPath
    AccumulationSeries.YBindingPathProperty
    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.OnBindingContextChanged()
    ChartSeries.OnParentSet()
    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
    TriangularSeries.ExplodeOffset
    TriangularSeries.ExplodeOffsetProperty
    TriangularSeries.GapRatio
    TriangularSeries.GapRatioProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class PyramidSeries : TriangularSeries, IThemeElement
    Remarks

    PyramidSeries requires ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart.

    Examples
    SfChart chart = new SfChart();
    PyramidSeries series = new PyramidSeries();
    ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
    {
    new ChartDataPoint("2006",28),
    new ChartDataPoint("2007",68),
    new ChartDataPoint("2010",38)
    };
    series.ItemsSource = Data;
    chart.Series.Add(series);

    Constructors

    PyramidSeries()

    Initializes a new instance of the PyramidSeries class.

    Declaration
    public PyramidSeries()

    Fields

    PyramidModeProperty

    Gets or sets the mode of the pyramid. This is a bindable property.

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

    Properties

    PyramidMode

    Gets or sets the mode of the pyramid to customize the rendering of pyramid series. This is a bindable property.

    Declaration
    public ChartPyramidMode PyramidMode { get; set; }
    Property Value
    Type Description
    ChartPyramidMode

    This property take the ChartPyramidMode as its value.

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