Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFChartStripLine

    Show / Hide Table of Contents

    Class SFChartStripLine

    Serves as a base class for all types of strip line.

    Inheritance
    System.Object
    SFChartStripLine
    SFChartDateTimeStripLine
    SFChartNumericalStripLine
    Namespace: Syncfusion.SfChart.iOS
    Assembly: Syncfusion.SFChart.iOS.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 UIColor BackgroundColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    BorderColor

    Gets or sets the border color of the strip line.

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

    BorderDashes

    Gets or sets the border dashes.

    Declaration
    public NSArray BorderDashes { get; set; }
    Property Value
    Type Description
    Foundation.NSArray

    BorderWidth

    Gets or sets the border width of the strip line.

    Declaration
    public float BorderWidth { get; set; }
    Property Value
    Type Description
    System.Single

    CornerRadius

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

    EnableSegmentStripLine

    Gets or sets a value indicating whether the strip line is segmented or not.

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

    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
    Type Description
    System.Boolean

    LabelStyle

    Gets the customized style for the axis labels.

    Declaration
    public SFStripLineLabelStyle LabelStyle { get; }
    Property Value
    Type Description
    SFStripLineLabelStyle

    RepeatEvery

    Gets or sets the frequency of the strip lines.

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

    SegmentAxisName

    Gets or sets the name of the segment axis for the strip line.

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

    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
    Type Description
    Foundation.NSObject

    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
    Type Description
    Foundation.NSObject

    Text

    Gets or sets the text to be displayed on the strip line.

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

    Visible

    Gets or sets a value indicating whether the strip line is visible in the axis.

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

    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
    Type Description
    System.Double

    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
    Type Description
    System.Double

    GetActualWidth(Double)

    Declaration
    protected virtual double GetActualWidth(double startStrip)
    Parameters
    Type Name Description
    System.Double startStrip
    Returns
    Type Description
    System.Double

    OnPropertyChanged()

    Declaration
    protected virtual void OnPropertyChanged()

    SetNeedsDisplay()

    Declaration
    public void SetNeedsDisplay()

    UpdateStripLine()

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