[]
        
(Showing Draft Content)

C1.Win.Chart.Interaction.LineMarker

LineMarker Class

The LineMarker class.

Inheritance
LineMarker
Implements
Namespace: C1.Win.Chart.Interaction
Assembly: C1.Win.FlexChart.8.dll
Syntax
public class LineMarker : Component, IComponent, IDisposable

Constructors

Name Description
LineMarker(FlexChart)

Creates a new instance of LineMarker class.

Properties

Name Description
Alignment

Gets or sets the alignment of the LineMarker content.

BackColor

Gets or sets background color of 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.

Font

Gets or sets font of content.

ForeColor

Gets or sets font color of content.

HorizontalPosition

Gets or sets line marker horizontal position.

Interaction

Gets or sets the interaction mode of the LineMarker.

LineColor

Gets or sets color of lines.

LineWidth

Gets or sets width of lines

Lines

Gets or sets the visibility of the LineMarker lines.

VerticalPosition

Gets or sets line marker vertical position.

Visible

Gets or sets the visibility of the LineMarker.

X

Gets the current x-value as chart data coordinates.

Y

Gets the current y-value as chart data coordinates.

Methods

Name Description
GetVisibleRect(Control)

Gets the viewable area of the control.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnPositionChanged(PositionChangedEventArgs)

Fires the PositionChanged event.

Remove()

Removes itself from parent control

Events

Name Description
Paint

Custom drawing.

PositionChanged

Fires when marker position was changed, allows to update content.