Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFErrorBarSeries

    Show / Hide Table of Contents

    Class SFErrorBarSeries

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

    Inheritance
    System.Object
    SFSeries
    SFCartesianSeries
    SFXyDataSeries
    SFErrorBarSeries
    Inherited Members
    SFXyDataSeries.YBindingPath
    SFCartesianSeries.DrawInContext(CGContext)
    SFCartesianSeries.OnAttachedToChart()
    SFCartesianSeries.FindNearestChartPoint(Single, Single)
    SFCartesianSeries.FindNearestChartPoints(Single, Single)
    SFCartesianSeries.GetCardinalSpline(List<Double>, IList<Double>)
    SFCartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double)
    SFCartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)
    SFCartesianSeries.GetMonotonicSpline(List<Double>, IList<Double>, Double[])
    SFCartesianSeries.GetDataPoints(RectangleF)
    SFCartesianSeries.GetDataPoints(Double, Double, Double, Double)
    SFCartesianSeries.IsTransposed
    SFCartesianSeries.Trendlines
    SFCartesianSeries.XAxis
    SFCartesianSeries.YAxis
    SFCartesianSeries.ShowTrackballInfo
    SFCartesianSeries.ActualXAxis
    SFCartesianSeries.ActualYAxis
    SFSeries.InvalidateRender()
    SFSeries.Animate()
    SFSeries.CreateRenderer()
    SFSeries.InsertDataPointAtIndex(nint)
    SFSeries.RemoveDataPointAtIndex(nint)
    SFSeries.ReloadData()
    SFSeries.AnimationForSegment(SFChartSegment)
    SFSeries.DrawLayer(CALayer, CGContext)
    SFSeries.DataPointIndexAtPoint(CGPoint)
    SFSeries.DrawMarker(CGContext, Double, Double, Int32)
    SFSeries.DrawLabel(NSString, CGContext, Double, Double, Int32)
    SFSeries.DrawConnectorLine(CGContext, Double, Double, Double, Double, NSColor, Int32)
    SFSeries.GeneratePoints(String[], IList<Double>[])
    SFSeries.ScheduleUpdateArea()
    SFSeries.GetSelectionColor()
    SFSeries.GetGradientStartPoint(SFChartSegment)
    SFSeries.GetGradientEndPoint(SFChartSegment)
    SFSeries.SetIndividualPoint(Int32, Object, Boolean)
    SFSeries.ClearUnUsedDataMarkerLabels(Int32)
    SFSeries.SeriesContainsPoint(CGPoint)
    SFSeries.OnDetachedFromChart()
    SFSeries.SetFillColor(SFChartSegment)
    SFSeries.SetStrokeWidth(SFChartSegment)
    SFSeries.SuspendNotification()
    SFSeries.ResumeNotification()
    SFSeries.EnableTooltip
    SFSeries.LegendIcon
    SFSeries.EnableDataPointSelection
    SFSeries.Visible
    SFSeries.VisibleOnLegend
    SFSeries.LayerFrame
    SFSeries.ListenPropertyChange
    SFSeries.DataMarker
    SFSeries.EnableAnimation
    SFSeries.AnimationDuration
    SFSeries.IsSelected
    SFSeries.SelectedDataPointIndex
    SFSeries.SelectedDataPointColor
    SFSeries.DataCount
    SFSeries.Name
    SFSeries.Color
    SFSeries.Alpha
    SFSeries.Label
    SFSeries.ItemsSource
    SFSeries.XBindingPath
    SFSeries.ColorModel
    SFSeries.XRange
    SFSeries.YRange
    SFSeries.Segments
    SFSeries.DataMarkerLabelCreated
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFErrorBarSeries : SFXyDataSeries
    Remarks

    SFErrorBarSeries 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

    SFErrorBarSeries()

    Initializes a new instance of the SFErrorBarSeries class.

    Declaration
    public SFErrorBarSeries()

    Properties

    HorizontalCapLineStyle

    Gets or sets the style for horizontal cap line in .

    Declaration
    public ErrorBarCapLineStyle HorizontalCapLineStyle { get; set; }
    Property Value
    Type Description
    ErrorBarCapLineStyle

    HorizontalDirection

    Gets or sets the horizontal direction for .

    Declaration
    public ErrorBarDirection HorizontalDirection { get; set; }
    Property Value
    Type Description
    ErrorBarDirection

    HorizontalErrorPath

    Gets or sets the value for HorizontalErrorPath.

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

    HorizontalErrorValue

    Gets or sets the value that defines HorizontalErrorValue.

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

    HorizontalLineStyle

    Gets or sets the style for horizontal error line in .

    Declaration
    public ErrorBarLineStyle HorizontalLineStyle { get; set; }
    Property Value
    Type Description
    ErrorBarLineStyle

    Mode

    Gets or sets the error bar mode for .

    Declaration
    public ErrorBarMode Mode { get; set; }
    Property Value
    Type Description
    ErrorBarMode

    Type

    Gets or sets the error bar type for .

    Declaration
    public ErrorBarType Type { get; set; }
    Property Value
    Type Description
    ErrorBarType
    Remarks

    If the Type is Custom, you have to set value for HorizontalErrorPath and VerticalErrorPath, else you have to set HorizontalErrorValue and VerticalErrorValue for other types.

    VerticalCapLineStyle

    Gets or sets the style for vertical cap line in .

    Declaration
    public ErrorBarCapLineStyle VerticalCapLineStyle { get; set; }
    Property Value
    Type Description
    ErrorBarCapLineStyle

    VerticalDirection

    Gets or sets the vertical direction for .

    Declaration
    public ErrorBarDirection VerticalDirection { get; set; }
    Property Value
    Type Description
    ErrorBarDirection

    VerticalErrorPath

    Gets or sets the value for the VerticalErrorPath.

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

    VerticalErrorValue

    Gets or sets the value that defines VerticalErrorValue.

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

    VerticalLineStyle

    Gets or sets the style for vertical error line in .

    Declaration
    public ErrorBarLineStyle VerticalLineStyle { get; set; }
    Property Value
    Type Description
    ErrorBarLineStyle

    Methods

    CreateSegment()

    Declaration
    protected override SFChartSegment CreateSegment()
    Returns
    Type Description
    SFChartSegment
    Overrides
    SFCartesianSeries.CreateSegment()

    CreateSegments()

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

    OnBindingPathChanged()

    Declaration
    protected override void OnBindingPathChanged()
    Overrides
    SFXyDataSeries.OnBindingPathChanged()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved