[]
Initializes mouse event data for a pointer interaction over the chart, computing the corresponding point in user (data) coordinates from the supplied device location.
public GraphMouseEventArgs(ISharpGraph graph, ShapeArea shapeArea, Point sourcePoint, bool isLeftMouseButton, int pointIndex = -1)
| Type | Name | Description |
|---|---|---|
| ISharpGraph | graph | The chart on which the mouse event occurred. |
| ShapeArea | shapeArea | The interactive region under the pointer, or null if none. |
| Point | sourcePoint | The pointer location in device (pixel) coordinates. |
| bool | isLeftMouseButton | true if the left mouse button is involved; otherwise, false. |
| int | pointIndex | The index of the data point under the pointer, or |