Class SFChartStripLine
Serves as a base class for all types of strip line.
Inheritance
System.Object
SFChartStripLine
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFChartStripLine : Object
Constructors
SFChartStripLine()
Declaration
public SFChartStripLine()
Properties
BackgroundColor
Gets or sets the background color of the strip line.
Declaration
public NSColor BackgroundColor { get; set; }
Property Value
BorderColor
Gets or sets the border color of the strip line.
Declaration
public NSColor BorderColor { get; set; }
Property Value
BorderDashes
Gets or sets the border dashes.
Declaration
public NSArray BorderDashes { get; set; }
Property Value
BorderWidth
Gets or sets the border width of the strip line.
Declaration
public float BorderWidth { get; set; }
Property Value
CornerRadius
Declaration
public float CornerRadius { get; set; }
Property Value
EnableSegmentStripLine
Gets or sets a value indicating whether the strip line is segmented or not.
Declaration
public bool EnableSegmentStripLine { get; set; }
Property Value
IsPixelWidth
Gets or sets a value indicating whether the value specified in Width
property should be considered as screen points or axis range.
Declaration
public bool IsPixelWidth { get; set; }
Property Value
LabelStyle
Gets the customized style for the axis labels.
Declaration
public SFStripLineLabelStyle LabelStyle { get; }
Property Value
RepeatEvery
Gets or sets the frequency of the strip lines.
Declaration
public double RepeatEvery { get; set; }
Property Value
SegmentAxisName
Gets or sets the name of the segment axis for the strip line.
Declaration
public NSString SegmentAxisName { get; set; }
Property Value
SegmentEndValue
Gets or sets the end value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public NSObject SegmentEndValue { get; set; }
Property Value
SegmentStartValue
Gets or sets the start value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public NSObject SegmentStartValue { get; set; }
Property Value
Text
Gets or sets the text to be displayed on the strip line.
Declaration
public string Text { get; set; }
Property Value
Visible
Gets or sets a value indicating whether the strip line is visible in the axis.
Declaration
public bool Visible { get; set; }
Property Value
Width
Gets or sets the width of the strip line, which is considered as screen points or axis range, based on IsPixedWidth
property.
Declaration
public double Width { get; set; }
Property Value
Methods
DrawInContext(CGContext)
Declaration
public void DrawInContext(CGContext context)
Parameters
Type |
Name |
Description |
CoreGraphics.CGContext |
context |
|
DrawInRect(CGRect)
Declaration
public virtual void DrawInRect(CGRect rect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
rect |
|
DrawLabel(NSString, CGRect)
Declaration
public virtual void DrawLabel(NSString label, CGRect rect)
Parameters
Type |
Name |
Description |
Foundation.NSString |
label |
|
CoreGraphics.CGRect |
rect |
|
GetActualPeriodStrip()
Declaration
protected virtual double GetActualPeriodStrip()
Returns
GetActualWidth(Double)
Declaration
protected virtual double GetActualWidth(double startStrip)
Parameters
Type |
Name |
Description |
System.Double |
startStrip |
|
Returns
OnPropertyChanged()
Declaration
protected virtual void OnPropertyChanged()
SetNeedsDisplay()
Declaration
public void SetNeedsDisplay()
UpdateStripLine()
Declaration
public void UpdateStripLine()