[]
        
(Showing Draft Content)

C1.Diagram.DiagramHitTestInfo

DiagramHitTestInfo Class

The class contains information about diagram element which is closest to the target point.

Inheritance
DiagramHitTestInfo
Namespace: C1.Diagram
Assembly: C1.Chart.Diagram.dll
Syntax
public class DiagramHitTestInfo
Public Class DiagramHitTestInfo

Constructors

Name Description
DiagramHitTestInfo()

Properties

Name Description
Distance

Distance from the point to the closest element.

Element

Diagram element (node or edge) which closest to the point.

Index

Index of element. When point belongs to the diagram legend, the index contains the index of legend item.

Item

Get the data bound object which corresponds to the diagram element.

Part

Diagram part related to the point.

X

Original X-coordinate specified in HitTest method.

Y

Original Y-coordinate specified in HitTest method.