Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFChartSegment

    Inheritance
    System.Object
    SFChartSegment
    SFAreaSegment
    SFBarSegment
    SFBoxAndWhiskerSegment
    SFBubbleSegment
    SFColumnSegment
    SFErrorBarSegment
    SFFastLineSegment
    SFFastScatterSegment
    SFFinancialSegment
    SFFunnelSegment
    SFLineSegment
    SFPieSegment
    SFPolarRadarAreaSegment
    SFPolarRadarLineSegment
    SFPyramidSegment
    SFRangeAreaSegment
    SFRangeColumnSegment
    SFScatterSegment
    SFSplineSegment
    SFStackingAreaSegment
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public abstract class SFChartSegment : CAAnimationDelegate

    Constructors

    SFChartSegment()

    Declaration
    public SFChartSegment()

    Properties

    Alpha

    Gets or sets float value that indicates series fill color's alpha value.

    Declaration
    public float Alpha { get; set; }
    Property Value
    Type Description
    System.Single

    AnimationDuration

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

    Color

    Gets or sets Color which indicates corresponding segment fill color.

    Declaration
    public NSColor Color { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    Empty

    Gets or sets a value indicating whether the segment is empty point or not.

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

    EnableAnimation

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

    Index

    Gets the index.

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32

    The index.

    Series

    Gets the series.

    Declaration
    public SFSeries Series { get; }
    Property Value
    Type Description
    SFSeries

    The series.

    Methods

    AnimationStopped(CAAnimation, Boolean)

    Declaration
    public override void AnimationStopped(CAAnimation anim, bool finished)
    Parameters
    Type Name Description
    CoreAnimation.CAAnimation anim
    System.Boolean finished

    ApplyGradientColors(CGContext)

    Applies the LinearGradient or RadialGradient into Context

    Declaration
    protected virtual void ApplyGradientColors(CGContext context)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context

    The context.

    DrawSegment(CGContext)

    Declaration
    public virtual void DrawSegment(CGContext context)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context

    HitTest(CGPoint)

    Declaration
    public virtual int HitTest(CGPoint hitPoint)
    Parameters
    Type Name Description
    CoreGraphics.CGPoint hitPoint
    Returns
    Type Description
    System.Int32

    HitTest(Single, Single)

    Declaration
    protected virtual int HitTest(float valueX, float valueY)
    Parameters
    Type Name Description
    System.Single valueX
    System.Single valueY
    Returns
    Type Description
    System.Int32

    OnLayout()

    Method used to calculate rendering bounds of segment.

    Declaration
    public virtual void OnLayout()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved