API Docs for:
Show:

utils.nf.graph-position Class

Extends Ember.Object
Module: utils/nf/array-helpers

Position calculation class for nf-graph related events

Properties

_graphContentX

Number private

The x position of the nf-graph-content within the nf-graph

_graphContentY

Number private

The y position of the nf-graph-content within the nf-graph

centerX

Number

The center point at x. Use in case of requiring a center point and using ordinal scale.

centerY

Number

The center point at y. Use in case of requiring a center point and using ordinal scale.

graph

component.nf-graph

Default: null

graphOffset

Object

The JQuery offset of the graph element

graphX

Number

The x position relative to graph

graphY

Number

The y position relative to graph

pageX

Number

The x position relative to the document

pageY

Number

The y position relative to the document

source

Ember.Component

x

Number

The x domain value

xScale

d3.scale

The x scale from either the source or graph used to calculate positions

y

Number

The y domain value

yScale

d3.scale

The y scale from either the source or graph used to calculate positions