menu

Xamarin.iOS

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

    Show / Hide Table of Contents

    Class SFLinearScale

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

    Constructors

    SFLinearScale()

    Declaration
    public SFLinearScale()

    SFLinearScale(CGRect)

    Declaration
    public SFLinearScale(CGRect frame)
    Parameters
    Type Name Description
    CoreGraphics.CGRect frame

    Properties

    CornerRadius

    Gets or sets the corner radius value for the scale

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

    CornerRadiusType

    Gets or sets the corner radius type

    Declaration
    public CornerRadiusType CornerRadiusType { get; set; }
    Property Value
    Type Description
    CornerRadiusType

    The corner radius type.

    Culture

    Gets or Sets the Culture value of label.

    Declaration
    public CultureInfo Culture { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    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.

    FrameOffset

    Gets or sets the offset value for the scale bar

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

    GradientStops

    Gets or sets the gradient values of the linear scale

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

    Interval

    Gets or sets the interval in between the scale

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

    LabelColor

    Gets or sets the color for the label

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

    LabelFont

    Gets or sets the Font style for the label

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

    LabelFormat

    Gets or Sets the format value of label.

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

    LabelOffset

    Gets or sets the offset value for the label

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

    LabelPostfix

    Gets or sets the postfix value for the label

    Declaration
    public NSString LabelPostfix { get; set; }
    Property Value
    Type Description
    Foundation.NSString

    LabelPrefix

    Gets or sets the prefix value for the label

    Declaration
    public NSString LabelPrefix { get; set; }
    Property Value
    Type Description
    Foundation.NSString

    MajorTickSettings

    Gets or sets the majorTickSettings for the scale

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

    Maximum

    Gets or sets the maximum value for the scale

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

    MaximumLabels

    Gets or sets the max labels value for the label

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

    Minimum

    Gets or sets the minimum value for the scale

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

    MinorTickSettings

    Sets the MinorTickSettings for the scale

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

    MinorTicksPerInterval

    Gets or sets the minor interval in between the scale

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

    Offset

    Gets or sets the offset value for the scale

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

    OpposedPosition

    Gets or sets a value indicating the side of the scale

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

    Pointers

    Gets or sets the collection for the Pointers

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

    Ranges

    Gets or sets the collection for the Ranges

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

    ScaleBarColor

    Gets or sets the color for the scale bar

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

    ScaleBarLength

    Gets or sets the length for the scale bar

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

    ScaleBarSize

    Gets or sets the size for the scale bar

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

    ScaleOffset

    Gets or sets the value of ScaleOffset

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

    ScalePosition

    Gets or sets the direction to the scale

    Declaration
    public SFLinearGaugeScalePosition ScalePosition { get; set; }
    Property Value
    Type Description
    SFLinearGaugeScalePosition

    ShowRim

    Gets or sets a value indicating whether to show the Scale

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

    ShowScaleLabel

    Gets or sets a value indicating whether to show Label for the scale

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

    ShowTicks

    Gets or sets a value indicating whether to show Ticks for the scale

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

    StartValue

    Gets or sets the Start Value.

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

    Methods

    DegreeToRadian(nfloat)

    Declaration
    public static nfloat DegreeToRadian(nfloat angle)
    Parameters
    Type Name Description
    System.nfloat angle
    Returns
    Type Description
    System.nfloat

    Dispose(Boolean)

    Dispose scale pointer and range collection changed events.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    To get the dispose.

    Draw(CGRect)

    Declaration
    public override void Draw(CGRect area)
    Parameters
    Type Name Description
    CoreGraphics.CGRect area

    LayoutSubviews()

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