Class SFLinearScale
Inheritance
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 |
---|
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 |
---|
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 |
---|
System.nfloat |
GradientStops
Gets or sets the gradient values of the linear scale
Declaration
public ObservableCollection<GaugeGradientStop> GradientStops { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<GaugeGradientStop> |
Interval
Gets or sets the interval in between the scale
Declaration
public nfloat Interval { get; set; }
Property Value
Type |
---|
System.nfloat |
LabelColor
Gets or sets the color for the label
Declaration
public UIColor LabelColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
LabelFont
Gets or sets the Font style for the label
Declaration
public UIFont LabelFont { get; set; }
Property Value
Type |
---|
UIKit.UIFont |
LabelFormat
Gets or Sets the format value of label.
Declaration
public string LabelFormat { get; set; }
Property Value
Type |
---|
System.String |
LabelOffset
Gets or sets the offset value for the label
Declaration
public nfloat LabelOffset { get; set; }
Property Value
Type |
---|
System.nfloat |
LabelPostfix
Gets or sets the postfix value for the label
Declaration
public NSString LabelPostfix { get; set; }
Property Value
Type |
---|
Foundation.NSString |
LabelPrefix
Gets or sets the prefix value for the label
Declaration
public NSString LabelPrefix { get; set; }
Property Value
Type |
---|
Foundation.NSString |
MajorTickSettings
Gets or sets the majorTickSettings for the scale
Declaration
public SFLinearTickSettings MajorTickSettings { get; set; }
Property Value
Type |
---|
SFLinearTickSettings |
Maximum
Gets or sets the maximum value for the scale
Declaration
public nfloat Maximum { get; set; }
Property Value
Type |
---|
System.nfloat |
MaximumLabels
Gets or sets the max labels value for the label
Declaration
public int MaximumLabels { get; set; }
Property Value
Type |
---|
System.Int32 |
Minimum
Gets or sets the minimum value for the scale
Declaration
public nfloat Minimum { get; set; }
Property Value
Type |
---|
System.nfloat |
MinorTickSettings
Sets the MinorTickSettings for the scale
Declaration
public SFLinearTickSettings MinorTickSettings { get; set; }
Property Value
Type |
---|
SFLinearTickSettings |
MinorTicksPerInterval
Gets or sets the minor interval in between the scale
Declaration
public nfloat MinorTicksPerInterval { get; set; }
Property Value
Type |
---|
System.nfloat |
Offset
Gets or sets the offset value for the scale
Declaration
public nfloat Offset { get; set; }
Property Value
Type |
---|
System.nfloat |
OpposedPosition
Gets or sets a value indicating the side of the scale
Declaration
public bool OpposedPosition { get; set; }
Property Value
Type |
---|
System.Boolean |
Pointers
Gets or sets the collection for the Pointers
Declaration
public ObservableCollection<SFLinearPointer> Pointers { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<SFLinearPointer> |
Ranges
Gets or sets the collection for the Ranges
Declaration
public ObservableCollection<SFLinearRange> Ranges { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<SFLinearRange> |
ScaleBarColor
Gets or sets the color for the scale bar
Declaration
public UIColor ScaleBarColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
ScaleBarLength
Gets or sets the length for the scale bar
Declaration
public nfloat ScaleBarLength { get; set; }
Property Value
Type |
---|
System.nfloat |
ScaleBarSize
Gets or sets the size for the scale bar
Declaration
public nfloat ScaleBarSize { get; set; }
Property Value
Type |
---|
System.nfloat |
ScaleOffset
Gets or sets the value of ScaleOffset
Declaration
public double ScaleOffset { get; set; }
Property Value
Type |
---|
System.Double |
ScalePosition
Gets or sets the direction to the scale
Declaration
public SFLinearGaugeScalePosition ScalePosition { get; set; }
Property Value
ShowRim
Gets or sets a value indicating whether to show the Scale
Declaration
public bool ShowRim { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Boolean |
StartValue
Gets or sets the Start Value.
Declaration
public nfloat StartValue { get; set; }
Property Value
Type |
---|
System.nfloat |
Methods
DegreeToRadian(nfloat)
Declaration
public static nfloat DegreeToRadian(nfloat angle)
Parameters
Type | Name | Description |
---|---|---|
System.nfloat | angle |
Returns
Type |
---|
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()