menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFCircularScale - API Reference

    Show / Hide Table of Contents

    Class SFCircularScale

    Inheritance
    System.Object
    SFCircularScale
    Namespace: Syncfusion.SfGauge.iOS
    Assembly: Syncfusion.SfGauge.iOS.dll
    Syntax
    public class SFCircularScale : UIView

    Constructors

    SFCircularScale()

    Declaration
    public SFCircularScale()

    SFCircularScale(CGRect)

    Declaration
    public SFCircularScale(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    Properties

    CustomLabels

    Gets or sets the custom labels for linear scale.

    Declaration
    public double[] CustomLabels { get; set; }
    Property Value
    Type Description
    System.Double[]

    The custom labels.

    Direction

    Gets or sets direction of the scale

    Declaration
    public SFCircularScaleDirection Direction { get; set; }
    Property Value
    Type Description
    SFCircularScaleDirection

    EnableAutoAngle

    Gets or sets whether to rotate label or not

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

    EnableAutoInterval

    Gets or sets the EnableAutoInterval in the scale

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

    EndValue

    Gets or sets the end value of scale

    Declaration
    public nfloat EndValue { get; set; }
    Property Value
    Type Description
    System.nfloat

    Interval

    Gets or sets the interval in the scale

    Declaration
    public nfloat Interval { get; set; }
    Property Value
    Type Description
    System.nfloat

    LabelColor

    Gets or sets the color of the label

    Declaration
    public UIColor LabelColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    LabelFont

    Gets or sets the font of the label

    Declaration
    public UIFont LabelFont { get; set; }
    Property Value
    Type Description
    UIKit.UIFont

    LabelOffset

    Gets or sets the offset of the label

    Declaration
    public nfloat LabelOffset { get; set; }
    Property Value
    Type Description
    System.nfloat

    LabelPostfix

    Gets or sets the postfix of the label

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

    LabelPrefix

    Gets or sets the prefix of the label

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

    MajorTickSettings

    Gets or sets the customization for major ticks

    Declaration
    public SFTickSettings MajorTickSettings { get; set; }
    Property Value
    Type Description
    SFTickSettings

    MaximumLabels

    Gets or sets the MaximumLabels in the scale

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

    MinorTickSettings

    Gets or sets the customization for minor ticks

    Declaration
    public SFTickSettings MinorTickSettings { get; set; }
    Property Value
    Type Description
    SFTickSettings

    MinorTicksPerInterval

    Gets or sets the total number of minor ticks between each major ticks in the scale

    Declaration
    public nfloat MinorTicksPerInterval { get; set; }
    Property Value
    Type Description
    System.nfloat

    NeedlePointerCollection

    Declaration
    public ObservableCollection<SFCircularPointer> NeedlePointerCollection { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<SFCircularPointer>

    NumberOfDecimalDigits

    Gets or sets the no of Fractional Digit display

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

    Pointers

    Gets or sets the pointers of the scale

    Declaration
    public ObservableCollection<SFCircularPointer> Pointers { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<SFCircularPointer>

    RadiusFactor

    Gets or sets the radius factor for minor ticks

    Declaration
    public nfloat RadiusFactor { get; set; }
    Property Value
    Type Description
    System.nfloat

    Ranges

    Gets or sets the ranges of the scale

    Declaration
    public ObservableCollection<SFCircularRange> Ranges { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<SFCircularRange>

    RimColor

    Gets or sets the color of the rim

    Declaration
    public UIColor RimColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    RimWidth

    Gets or sets the width of the rim

    Declaration
    public nfloat RimWidth { get; set; }
    Property Value
    Type Description
    System.nfloat

    ScaleEndOffSet

    Gets or sets the ScaleEndOffSet of the scale.

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

    ScaleStartOffset

    Gets or sets the ScaleStartOffset of the scale.

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

    ShowFirstLabel

    Gets or sets a value indicating whether to show first label or not.

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

    ShowLabels

    Gets or sets whether to show label or not

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

    ShowLastLabel

    Gets or sets a value indicating whether to show last label or not.

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

    ShowRim

    Gets or sets whether to show rim or not

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

    ShowTicks

    Gets or sets a value indicating whether to show ticks or not

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

    StartAngle

    Gets or sets the start angle of the range

    Declaration
    public nfloat StartAngle { get; set; }
    Property Value
    Type Description
    System.nfloat

    StartValue

    Gets or sets the start value of scale

    Declaration
    public nfloat StartValue { get; set; }
    Property Value
    Type Description
    System.nfloat

    SweepAngle

    Gets or sets the sweep angle of the range

    Declaration
    public nfloat SweepAngle { get; set; }
    Property Value
    Type Description
    System.nfloat

    UseRangeColorForLabels

    Gets or sets whether to show label or not

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

    Methods

    Draw(CGRect)

    Declaration
    public override void Draw(CGRect area)
    Parameters
    Type Name Description
    CoreGraphics.CGRect area
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved