utils.nf.graph-mouse-event Class
An event context object generally returned by tracking events. Also used as
trackedData
in components such as nf-line
, nf-area
and nf-bars
.
Item Index
Methods
Methods
_getMousePoint
()
private
Method used to get the mouse position relative to a container
Properties
_mousePoint
Object
private
The coordinates of the mouse relative to eh nf-graph-content
data
Unknown
The data carried by the nearest data point to the mouse position along the x axis.
graphContentElement
SVGGElement
The nf-graph-content element of the nf-graph
mousePosition
Graph-position
A positioning object for the mouse position
mouseX
Number
The mouse x position relative to the graph content
mouseY
Number
The mouse y position relative to the graph content
nearestDataPoint
Array
The raw data point nearest the mouse.graphX position
originalEvent
MouseEvent
The original event that triggered the action or ember event
Default: null
x
Unknown
The x domain value at the nearest data point to the mouse position along the x axis.
y
Unknown
The y domain value at the nearest data point to the mouse position along the x axis.