menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearScale - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearScale

    Represents the LinearScale

    Inheritance
    System.Object
    LinearScale
    Namespace: Com.Syncfusion.Gauges.SfLinearGauge
    Assembly: Syncfusion.SfGauge.Android.dll
    Syntax
    public class LinearScale : Object

    Constructors

    LinearScale()

    Initializes a new instance of the LinearScale class.

    Declaration
    public LinearScale()

    Properties

    CornerRadius

    Gets or sets a double value to draw the linear scale with rounded corner

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

    CornerRadiusType

    Gets or sets range cap value for scale bar

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

    Culture

    Gets or sets the Culture value of the Label.

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

    CustomLabels

    Gets or sets the custom labels for linear scale

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

    GradientStops

    Gets or sets a gradient for range

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

    Interval

    Gets or sets the interval in the scale

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

    LabelColor

    Gets or sets the color of the Label

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

    LabelFontSize

    Gets or sets the the font size of the Label

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

    LabelFontStyle

    Gets or sets the the font style of the Label

    Declaration
    public Typeface LabelFontStyle { get; set; }
    Property Value
    Type
    Android.Graphics.Typeface

    LabelFormat

    Gets or sets the format of the Label.

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

    LabelOffset

    Gets or sets the LabelOffset

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

    LabelPostfix

    Gets or sets the Label Postfix value

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

    LabelPrefix

    Gets or sets the LabelPrefix

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

    MajorTickSettings

    Gets or sets a value to set the major tick

    Declaration
    public LinearTickSettings MajorTickSettings { get; set; }
    Property Value
    Type
    LinearTickSettings

    Maximum

    Gets or sets the maximum value for the scale

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

    MaximumLabels

    Gets or sets the maximumLabels value for the scale

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

    Minimum

    Gets or sets the minimum value for the scale.

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

    MinorTickSettings

    Gets or sets the settings for the minor tick

    Declaration
    public LinearTickSettings MinorTickSettings { get; set; }
    Property Value
    Type
    LinearTickSettings

    MinorTicksPerInterval

    Gets or sets the total number of minor ticks per interval

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

    Offset

    Gets or sets the Offset

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

    OpposedPosition

    Gets or sets a value indicating whether to display scale in opposite side

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

    Pointers

    Gets or sets the collection of pointers.

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

    Ranges

    Gets or sets collection of ranges.

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

    ScaleBarColor

    Gets or sets the the color of the ScaleBar

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

    ScaleBarLength

    Gets or sets the the length of the ScaleBar

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

    ScaleBarSize

    Gets or sets the the thickness of the ScaleBar

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

    ScaleDirection

    Gets or sets scale direction

    Declaration
    public LinearScaleDirection ScaleDirection { get; set; }
    Property Value
    Type
    LinearScaleDirection

    ScaleOffset

    Gets or sets a value of ScaleOffset

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

    ShowLabels

    Gets or sets a value indicating whether to display labels

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

    ShowScale

    Gets or sets a value indicating whether to display Rim

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

    ShowTicks

    Gets or sets a value indicating whether to display ticks

    Declaration
    public bool ShowTicks { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved