Click or drag to resize

LineSeriesCursor Class

LightningChart .NET Help
Line series cursor allows tracking and evaluating line series values
Inheritance Hierarchy

Namespace:  Arction.WinForms.Charting.Views.ViewXY
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
public class LineSeriesCursor : DraggableObject, 
	IDisposable

The LineSeriesCursor type exposes the following members.

Constructors
  NameDescription
Public methodLineSeriesCursor
Simple constructor for Form designer's list editor.
Public methodLineSeriesCursor(ViewXY, AxisX)
Constructor.
Top
Properties
  NameDescription
Public propertyAllowDragging
Gets or sets whether dragging by user is allowed.
(Inherited from DraggableObject.)
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyAssignXAxisIndex
Index of X-axis assigned to this cursor.
Public propertyBehind
Is cursor behind series or front.
Public propertyFullHeight
Full cursor height. If true, the cursor height will be the height of the control. If false, the cursor is vertically painted in the graph area only.
Public propertyGrabPadding
Grab padding is used to widen the active area. The area is widened on both sides the specified amount.
Public propertyHairCrossColorMixing
Use cursor and dataseries colors or just cursor color for haircross.
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyIndicateTrackingYRange
When Cursor style is set to 'TrackSeries', and multiple series values hit on same cursor X position, adjusts series tracking horizontal line height to match the minimum and maximum value on current cursor position.
Public propertyLineStyle
Line style.
Public propertyOwnerView
Owner view
Public propertySnapToPoints
When moving the cursor, jumps the cursor to nearest series point.
Public propertyStyle
Cursor style.
Public propertyThinHairCross
Draw haircross horizontal line as 1px width, otherwise as wide as vertical.
Public propertyTrackPoint
Tracking point style. Applies only when Style is set to PointTrack.
Public propertyValueAtXAxis
X-value.
Public propertyVisible
Is cursor visible or not
Top
Methods
  NameDescription
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodResetLocation
Reset location, if moved by mouse.
(Inherited from DraggableObject.)
Public methodSetHighlight
Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper cursor. Default for dragging is VSplit.
(Overrides DraggableObjectSetProperCursor.)
Public methodToString
Convert class description to string.
(Overrides HighlightingItemBaseToString.)
Top
Events
  NameDescription
Public eventDraggedByUser
Dragged by user.
(Inherited from DraggableObject.)
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventPositionChanged
Cursor position on X-axis has changed.
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also