Click or drag to resize
NChartCrosshair Class
The NChartCrosshair class provides methods to control crosshairs - lines that are perpendicular to the axes and are to mark some position on the chart. Single chart can have multiple crosshairs either connected to the chart points or free (with user defined coordinates).
Inheritance Hierarchy
SystemObject
  NChart3D_UWPNChartCrosshair

Namespace:  NChart3D_UWP
Assembly:  NChart3D_UWP (in NChart3D_UWP.dll)
Syntax
public sealed class NChartCrosshair : INChartObject

The NChartCrosshair type exposes the following members.

Constructors
  NameDescription
Public methodNChartCrosshair
Create crosshair.
Public methodNChartCrosshair(Color, Single, NChartPoint)
Create crosshair with color, thickness and target point.
Top
Properties
  NameDescription
Public propertyChart
Chart the object belongs to. This property is assigned automatically whenever the object is assigned to the chart.
Public propertyDelegate
Crosshair delegate.
Public propertyImage
Image that is displaying in the crosshair. The default value is null.
Public propertyImageOffset
Offset in pixels of the image from the crosshair's center. The default value is (0,0).
Public propertyLineDash
Dash of the crosshair.
Public propertyShouldJumpToTouch
Flag determining if the crosshair should move to the touch wherever the touch location is. The default value is NO. If this flag is YES, all the touches are catched by the topmost crosshair (the one that was last added to the cartesian system of the chart). So no other user interactions like pan and point selection are possible in the chart.
Public propertyTargetPoint
Target point for the crosshair. Use this property to set crosshair to track chart point. The point is not retained by the crosshair.
Public propertyThickness
Thickness of the crosshair in pixels. The default value is 1.
Public propertyVisible
Flag that determines if the object is visible (true) or not (false). The default value is true.
Public propertyXHair
Hair for X-Axis.
Public propertyYHair
Hair for Y-Axis.
Public propertyZHair
Hair for Z-Axis.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also