[]
        
(Showing Draft Content)

C1.iOS.Chart.Interaction.C1LineMarker

C1LineMarker Class

Represents an extension of the LineMarker for the FlexChart.

Inheritance
C1LineMarker
Namespace: C1.iOS.Chart.Interaction
Assembly: C1.iOS.Chart.dll
Syntax
public class C1LineMarker : UIView, IDependencyObject, IChartLayer

Constructors

Name Description
C1LineMarker()

Creates an instance of LineMarker.

C1LineMarker(CGRect)

Fields

Name Description
AlignmentProperty

Identifies the Alignment dependency property.

ContentProperty

Identifies the Content dependency property.

DragContentProperty

Identifies the DragContent dependency property.

DragLinesProperty

Identifies the DragLines dependency property.

DragThresholdProperty

Identifies the DragThreshold dependency property.

HorizontalLineStyleProperty

Identifies the Vertical line style dependency property.

HorizontalPositionProperty

Identifies the HorizontalPosition dependency property.

InteractionProperty

Identifies the Interaction dependency property.

IsVisibleProperty

Identifies the IsVisible dependency property.

LinesProperty

Identifies the Lines dependency property.

VerticalLineStyleProperty

Identifies the Vertical line style dependency property.

VerticalPositionProperty

Identifies the VerticalPosition dependency property.

XProperty
YProperty

Properties

Name Description
Alignment

Gets or sets the alignment of the LineMarker content.

Content

Gets or sets the content function that allows you to customize the text content of the LineMarker.

DragContent

Gets or sets a value indicating whether the content of the marker is draggable when the interaction mode is "Drag".

DragLines

Gets or sets a value indicating whether the lines are linked when the horizontal or vertical line is dragged when the interaction mode is "Drag".

DragThreshold

Gets or sets the maximum distance from the horizontal or vertical line that the marker can be dragged.

HorizontalLineStyle

Gets or set the Style of horizontal line.

HorizontalPosition

Gets or sets the horizontal position of the LineMarker relative to the plot area. Its value range is (0, 1).If set this value,then the line marker's horizontal position is fixed. If the value is null or undefined and interaction is set to LineMarkerInteraction.Move or LineMarkerInteraction.Drag, the horizontal position of the marker is calculated automatically based on the pointer's position.

Interaction

Gets or sets the interaction mode of the LineMarker.

IsVisible

Gets or sets a value indicating whether annotation is visible.

Lines

Gets or sets the visibility of the LineMarker lines.

VerticalLineStyle

Gets or set the Style of vertical line.

VerticalPosition

Gets or sets the vertical position of the LineMarker relative to the plot area. Its value range is (0, 1). If set this value,then the line marker's vertical position is fixed. If the value is null or undefined and interaction is set to LineMarkerInteraction.Move or LineMarkerInteraction.Drag, the vertical position of the LineMarker is calculated automatically based on the pointer's position.

X

Gets the current x-value as chart data coordinates.

Y

Gets the current y-value as chart data coordinates.

Methods

Name Description
OnPositionChanged(bool)

Raise the PositionChanged event.

Events

Name Description
PositionChanged

Occurs after the LineMarker's position changes.