Class SFChartDataMarker
Represents the data markers in chart series. Data markers appearance can be
customized using this class.
Inheritance
System.Object
SFChartDataMarker
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFChartDataMarker : Object
Constructors
SFChartDataMarker(SFSeries)
Declaration
public SFChartDataMarker(SFSeries series)
Parameters
Properties
ConnectorLineStyle
Gets the options for customizing the data marker's connector line.
Declaration
public SFConnectorLineStyle ConnectorLineStyle { get; }
Property Value
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
LabelStyle
Gets the options for customizing the data marker's label.
Declaration
public SFDataMarkerLabelStyle LabelStyle { get; }
Property Value
MarkerBorderColor
Gets or sets the color of the data marker border line.
Declaration
public NSColor MarkerBorderColor { get; set; }
Property Value
MarkerBorderWidth
Gets or sets the width of the data marker border line.
Declaration
public float MarkerBorderWidth { get; set; }
Property Value
MarkerColor
Gets or sets the color of the data marker.
Declaration
public NSColor MarkerColor { get; set; }
Property Value
MarkerHeight
Gets or sets the height of the data marker.
Declaration
public float MarkerHeight { get; set; }
Property Value
MarkerType
Gets or sets the type of the marker.
Declaration
public SFChartDataMarkerType MarkerType { get; set; }
Property Value
MarkerWidth
Gets or sets the width of the data marker.
Declaration
public float MarkerWidth { get; set; }
Property Value
Series
Declaration
public SFSeries Series { get; }
Property Value
ShowLabel
Gets or sets a value indicating whether to show label for the data marker.
Declaration
public bool ShowLabel { get; set; }
Property Value
ShowMarker
Gets or sets a value indicating whether to show marker for the data marker.
Declaration
public bool ShowMarker { get; set; }
Property Value
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
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 |
|