Click or drag to resize

LineSeriesCursor Class

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

Namespace: LightningChartLib.UWP.ChartingMVVM.Views.ViewXY
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
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 if allow dragging by user. This is a dependency property.
(Inherited from DraggableObject)
Public propertyAllowUserInteraction Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from UserInteractiveObject)
Public propertyAssignXAxisIndex Gets or sets index of X axis assigned to this cursor. This is a dependency property.
Public propertyBehind Gets or sets if cursor is behind series or front. This is a dependency property.
Public propertyFullHeight Gets or sets is use full cursor height. This is a dependency property. 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 Gets or sets grab padding, which is used to widen the active area. The area is widened on both sides the specified amount. This is a dependency property.
Public propertyHairCrossColorMixing Gets or sets if use cursor and dataseries colors or just cursor color for haircross. This is a dependency property.
Public propertyHighlight Gets or sets highlight style. Item can be highlighted by user interactive device or by code. This is a dependency property.
(Inherited from HighlightingItemBase)
Public propertyIndicateTrackingYRange Gets or sets if 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. This is a dependency property.
Public propertyLineStyle Gets or sets line style. This is a dependency property.
Public propertySnapToPoints Gets or sets if moving the cursor, jumps the cursor to neareast series point. This is a dependency property.
Public propertySolveYValue Override LineSeriesCursor's Y-value solving/tracking method. Func (predefined generic) delegate type can be used with an anonymous method or lambda expression. Input parameter is series, which implements ITrackable interface. Output parameter is LineSeriesCoordinateSolveResult struct.
Public propertyStyle Gets or sets cursor style. This is a dependency property.
Public propertyThinHairCross Gets or sets if draw haircross horizontal line as 1px width, otherwise as wide as vertical. This is a dependency property.
Public propertyTrackLineSeries Predicate to determine if the cursor should draw/resolve TrackPoint for a series implementing ITrackable interface.
Public propertyTrackPoint Gets or sets tracking point style. This is a dependency property. Applies only when Style is set to PointTrack.
Public propertyValueAtXAxis Gets or sets X value. This is a dependency property.
Public propertyVisible Gets or sets if cursor is visible or not. This is a dependency property.
Top
Methods
 NameDescription
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
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 eventDoubleTapped Item has been doubletapped.
(Inherited from UserInteractiveObject)
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 eventPointerEntered Pointer has been moved over object.
(Inherited from UserInteractiveObject)
Public eventPointerExited Pointer has been moved outside of object.
(Inherited from UserInteractiveObject)
Public eventPointerPressed Pointer has been pressed down.
(Inherited from UserInteractiveObject)
Public eventPointerReleased Pointer has been released.
(Inherited from UserInteractiveObject)
Public eventPositionChanged Cursor position on X-axis has changed.
Public eventTapped Item has been tapped.
(Inherited from UserInteractiveObject)
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberAssignXAxisIndexProperty Identifies the AssignXAxisIndex dependency property.
Public fieldStatic memberBehindProperty Identifies the Behind dependency property.
Public fieldStatic memberFullHeightProperty Identifies the FullHeight dependency property.
Public fieldStatic memberGrabPaddingProperty Identifies the GrabPadding dependency property.
Public fieldStatic memberHairCrossColorMixingProperty Identifies the HairCrossColorMixing dependency property.
Public fieldStatic memberIndicateTrackingYRangeProperty Identifies the IndicateTrackingYRange dependency property.
Public fieldStatic memberLineStyleProperty Identifies the LineStyle dependency property.
Public fieldStatic memberSnapToPointsProperty Identifies the SnapToPoints dependency property.
Public fieldStatic memberStyleProperty Identifies the Style dependency property.
Public fieldTag Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt)
Public fieldStatic memberThinHairCrossProperty Identifies the ThinHairCross dependency property.
Public fieldStatic memberTrackPointProperty Identifies the TrackPoint dependency property.
Public fieldStatic memberValueAtXAxisProperty Identifies the ValueAtXAxis dependency property.
Public fieldStatic memberVisibleProperty Identifies the Visible dependency property.
Top
Remarks
Tracking and values evaluation is available only for series implementing ITrackable
See Also