Xamarin.Android

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

    Show / Hide Table of Contents

    Class ChartSegment

    Inheritance
    System.Object
    ChartSegment
    AreaSegment
    BarSegment
    BoxAndWhiskerSegment
    BubbleSegment
    ColumnSegment
    ErrorBarSegment
    FastLineSegment
    FastScatterSegment
    FunnelSegment
    HiLoOpenCloseSegment
    LineSegment
    PieSegment
    PolarRadarAreaSegment
    PolarRadarLineSegment
    PyramidSegment
    RangeAreaSegment
    RangeColumnSegment
    ScatterSegment
    SplineSegment
    StackingAreaSegment
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public abstract class ChartSegment : Object

    Constructors

    ChartSegment()

    Declaration
    public ChartSegment()

    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

    Color

    Gets or sets Color which indicates corresponding segment fill color.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    Series

    Gets the series.

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

    The series.

    StrokeColor

    Gets or sets Color value that indicates segment border color.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    StrokeWidth

    Gets or sets float value that indicates segment border thickness.

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

    Methods

    ApplyGradientColors(Paint)

    Applies the LinearGradient or RadialGradient into paint.

    Declaration
    protected virtual void ApplyGradientColors(Paint paint)
    Parameters
    Type Name Description
    Android.Graphics.Paint paint

    The paint.

    GetFillPaint()

    Declaration
    protected virtual Paint GetFillPaint()
    Returns
    Type Description
    Android.Graphics.Paint

    GetStrokePaint()

    Declaration
    protected virtual Paint GetStrokePaint()
    Returns
    Type Description
    Android.Graphics.Paint

    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

    OnDraw(Canvas)

    Method used to draw segment in series bounds.

    Declaration
    public virtual void OnDraw(Canvas canvas)
    Parameters
    Type Name Description
    Android.Graphics.Canvas canvas

    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