menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class StackingBarSeries

    Represents a stacked bar chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    XyDataSeries
    StackingSeriesBase
    StackingBarSeries
    StackingBar100Series
    Inherited Members
    CartesianSeries.ActualXAxis
    CartesianSeries.ActualYAxis
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double)
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)
    CartesianSeries.FindNearestChartPoint(Single, Single)
    CartesianSeries.FindNearestChartPoints(Single, Single)
    CartesianSeries.GetCardinalSpline(List<Double>, IList<Double>)
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(RectangleF)
    CartesianSeries.GetMonotonicSpline(List<Double>, IList<Double>, Double[])
    CartesianSeries.OnAttachedToChart()
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.Transposed
    CartesianSeries.Trendlines
    CartesianSeries.XAxis
    CartesianSeries.YAxis
    ChartSeries.Alpha
    ChartSeries.Animate()
    ChartSeries.AnimationDuration
    ChartSeries.Chart
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.Color
    ChartSeries.ColorModel
    ChartSeries.DataCount
    ChartSeries.DataMarker
    ChartSeries.DataMarkerLabelCreated
    ChartSeries.DataPointSelectionEnabled
    ChartSeries.DrawDataMarker(Int32, Canvas, Paint, Paint, Single, Single)
    ChartSeries.DrawDataMarkerLabel(Int32, Canvas, String, Single, Single)
    ChartSeries.EnableAnimation
    ChartSeries.GeneratePoints(String[], IList<Double>[])
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.GetGradientEndPoint(ChartSegment)
    ChartSeries.GetGradientStartPoint(ChartSegment)
    ChartSeries.GetSelectionColor()
    ChartSeries.GetView()
    ChartSeries.InvalidateRender()
    ChartSeries.IsSelected
    ChartSeries.ItemsSource
    ChartSeries.Label
    ChartSeries.LegendIcon
    ChartSeries.ListenPropertyChange
    ChartSeries.Name
    ChartSeries.OnDetachedFromChart()
    ChartSeries.OnTouchMove(MotionEvent)
    ChartSeries.ResumeNotification()
    ChartSeries.ScheduleUpdateArea()
    ChartSeries.Segments
    ChartSeries.SelectedDataPointColor
    ChartSeries.SelectedDataPointIndex
    ChartSeries.SeriesContainsPoint(PointF)
    ChartSeries.SetFillColor(ChartSegment)
    ChartSeries.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.SetStrokeWidth(ChartSegment)
    ChartSeries.StrokeWidth
    ChartSeries.SuspendNotification()
    ChartSeries.TooltipEnabled
    ChartSeries.Visibility
    ChartSeries.VisibilityOnLegend
    ChartSeries.XBindingPath
    ChartSeries.XRange
    ChartSeries.YRange
    StackingSeriesBase.CalculateStackingValues()
    StackingSeriesBase.GroupingLabel
    StackingSeriesBase.StrokeColor
    XyDataSeries.OnBindingPathChanged()
    XyDataSeries.YBindingPath
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class StackingBarSeries : StackingSeriesBase
    Remarks

    StackingBarSeries is the transposed version of StackingColumnSeries. Unlike other cartesian chart types, to plot StackingBarSeries, x-axis will be rendered vertically and y-axis will be rendered horizontally. Hence, it is not possible to plot other chart types along with StackingBarSeries. Multiple StackingBarSeries can be added in a single SfChart. StackingBarSeries requires 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.

    Constructors

    StackingBarSeries()

    Initializes a new instance of the StackingBarSeries class.

    Declaration
    public StackingBarSeries()

    Properties

    CornerRadius

    Gets or sets the value to draw rounded corners of the segments by using ChartCornerRadius.

    Declaration
    public ChartCornerRadius CornerRadius { get; set; }
    Property Value
    Type
    ChartCornerRadius

    DataMarkerPosition

    Gets or sets the data marker position.

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

    Spacing

    Gets or sets the spacing between the segments.

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

    Width

    Gets or sets the width of the segments.

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

    Methods

    CreateSegment()

    Create the BarSegment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns a segment.

    Overrides
    CartesianSeries.CreateSegment()

    CreateSegments()

    Creates the segments of StackingBarSeries.

    Declaration
    protected override void CreateSegments()
    Overrides
    CartesianSeries.CreateSegments()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved