[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.GraphMouseEventArgs.-ctor

GraphMouseEventArgs Constructor

GraphMouseEventArgs(ISharpGraph, ShapeArea, Point, bool, int)

Initializes mouse event data for a pointer interaction over the chart, computing the corresponding point in user (data) coordinates from the supplied device location.

Declaration
public GraphMouseEventArgs(ISharpGraph graph, ShapeArea shapeArea, Point sourcePoint, bool isLeftMouseButton, int pointIndex = -1)
Parameters
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 -1 if no data point applies.