Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFChartDataMarker

    Represents the data markers in chart series. Data markers appearance can be customized using this class.

    Inheritance
    System.Object
    SFChartDataMarker
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFChartDataMarker : Object

    Constructors

    SFChartDataMarker(SFSeries)

    Declaration
    public SFChartDataMarker(SFSeries series)
    Parameters
    Type Name Description
    SFSeries series

    Properties

    ConnectorLineStyle

    Gets the options for customizing the data marker's connector line.

    Declaration
    public SFConnectorLineStyle ConnectorLineStyle { get; }
    Property Value
    Type Description
    SFConnectorLineStyle

    LabelContent

    Gets or sets an option that determines the content to be displayed in the data marker label.

    Declaration
    public SFChartLabelContent LabelContent { get; set; }
    Property Value
    Type Description
    SFChartLabelContent

    LabelStyle

    Gets the options for customizing the data marker's label.

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

    MarkerBorderColor

    Gets or sets the color of the data marker border line.

    Declaration
    public NSColor MarkerBorderColor { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    MarkerBorderWidth

    Gets or sets the width of the data marker border line.

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

    MarkerColor

    Gets or sets the color of the data marker.

    Declaration
    public NSColor MarkerColor { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    MarkerHeight

    Gets or sets the height of the data marker.

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

    MarkerType

    Gets or sets the type of the marker.

    Declaration
    public SFChartDataMarkerType MarkerType { get; set; }
    Property Value
    Type Description
    SFChartDataMarkerType

    MarkerWidth

    Gets or sets the width of the data marker.

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

    Series

    Declaration
    public SFSeries Series { get; }
    Property Value
    Type Description
    SFSeries

    ShowLabel

    Gets or sets a value indicating whether to show label for the data marker.

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

    ShowMarker

    Gets or sets a value indicating whether to show marker for the data marker.

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

    UseSeriesPalette

    Gets or sets a value indicating whether to set the series color to the data marker's label background.

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

    Methods

    DrawConnectorLine(CGContext, Double, Double, Double, Double, NSColor)

    Declaration
    public virtual void DrawConnectorLine(CGContext context, double startPointX, double startPointY, double endPointX, double endPointY, NSColor lineColor)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    System.Double startPointX
    System.Double startPointY
    System.Double endPointX
    System.Double endPointY
    AppKit.NSColor lineColor

    DrawLabel(NSString, CGContext, Double, Double)

    Declaration
    public virtual void DrawLabel(NSString label, CGContext context, double pointX, double pointY)
    Parameters
    Type Name Description
    Foundation.NSString label
    CoreGraphics.CGContext context
    System.Double pointX
    System.Double pointY

    DrawLabelBackground(CGContext, CGRect, NSColor, NSColor)

    Declaration
    public virtual void DrawLabelBackground(CGContext context, CGRect rect, NSColor color, NSColor borderColor)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    CoreGraphics.CGRect rect
    AppKit.NSColor color
    AppKit.NSColor borderColor

    DrawMarker(CGContext, CGRect)

    Declaration
    public virtual void DrawMarker(CGContext context, CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    CoreGraphics.CGRect rect

    DrawMarker(CGContext, Double, Double)

    Declaration
    public virtual void DrawMarker(CGContext context, double centerX, double centerY)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    System.Double centerX
    System.Double centerY
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved