Class SFLinearScale
Inheritance
System.Object
SFLinearScale
Assembly: Syncfusion.SfGauge.iOS.dll
Syntax
public class SFLinearScale : UIView
Constructors
SFLinearScale()
Declaration
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
CornerRadiusType
Gets or sets the corner radius type
Declaration
public CornerRadiusType CornerRadiusType { get; set; }
Property Value
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
GradientStops
Gets or sets the gradient values of the linear scale
Declaration
public ObservableCollection<GaugeGradientStop> GradientStops { get; set; }
Property Value
Interval
Gets or sets the interval in between the scale
Declaration
public nfloat Interval { get; set; }
Property Value
LabelColor
Gets or sets the color for the label
Declaration
public UIColor LabelColor { get; set; }
Property Value
LabelFont
Gets or sets the Font style for the label
Declaration
public UIFont LabelFont { get; set; }
Property Value
Gets or Sets the format value of label.
Declaration
public string LabelFormat { get; set; }
Property Value
LabelOffset
Gets or sets the offset value for the label
Declaration
public nfloat LabelOffset { get; set; }
Property Value
LabelPostfix
Gets or sets the postfix value for the label
Declaration
public NSString LabelPostfix { get; set; }
Property Value
LabelPrefix
Gets or sets the prefix value for the label
Declaration
public NSString LabelPrefix { get; set; }
Property Value
MajorTickSettings
Gets or sets the majorTickSettings for the scale
Declaration
public SFLinearTickSettings MajorTickSettings { get; set; }
Property Value
Maximum
Gets or sets the maximum value for the scale
Declaration
public nfloat Maximum { get; set; }
Property Value
MaximumLabels
Gets or sets the max labels value for the label
Declaration
public int MaximumLabels { get; set; }
Property Value
Minimum
Gets or sets the minimum value for the scale
Declaration
public nfloat Minimum { get; set; }
Property Value
MinorTickSettings
Sets the MinorTickSettings for the scale
Declaration
public SFLinearTickSettings MinorTickSettings { get; set; }
Property Value
MinorTicksPerInterval
Gets or sets the minor interval in between the scale
Declaration
public nfloat MinorTicksPerInterval { get; set; }
Property Value
Offset
Gets or sets the offset value for the scale
Declaration
public nfloat Offset { get; set; }
Property Value
OpposedPosition
Gets or sets a value indicating the side of the scale
Declaration
public bool OpposedPosition { get; set; }
Property Value
Pointers
Gets or sets the collection for the Pointers
Declaration
public ObservableCollection<SFLinearPointer> Pointers { get; set; }
Property Value
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
ScaleBarLength
Gets or sets the length for the scale bar
Declaration
public nfloat ScaleBarLength { get; set; }
Property Value
ScaleBarSize
Gets or sets the size for the scale bar
Declaration
public nfloat ScaleBarSize { get; set; }
Property Value
ScaleOffset
Gets or sets the value of ScaleOffset
Declaration
public double ScaleOffset { get; set; }
Property Value
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
ShowScaleLabel
Gets or sets a value indicating whether to show Label for the scale
Declaration
public bool ShowScaleLabel { get; set; }
Property Value
ShowTicks
Gets or sets a value indicating whether to show Ticks for the scale
Declaration
public bool ShowTicks { get; set; }
Property Value
StartValue
Gets or sets the Start Value.
Declaration
public nfloat StartValue { get; set; }
Property Value
Methods
DegreeToRadian(nfloat)
Declaration
public static nfloat DegreeToRadian(nfloat angle)
Parameters
Type |
Name |
Description |
System.nfloat |
angle |
|
Returns
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()