ember-nf-graph
Advanced tools
Comparing version 1.0.0-beta.23 to 1.0.0-beta.24
@@ -203,4 +203,15 @@ import Ember from 'ember'; | ||
var graphY = yScale.invert(point.y); | ||
var { x, y, data, renderX, renderY } = this.getDataNearXRange(point.x); | ||
var near = this.getDataNearXRange(point.x); | ||
if(!near) { | ||
return { | ||
point, | ||
graphX, | ||
graphY, | ||
mouseX: point.x, | ||
mouseY: point.y, | ||
}; | ||
} | ||
var { x, y, data, renderX, renderY } = near; | ||
return { | ||
@@ -207,0 +218,0 @@ point, |
# Changelog | ||
### v1.0.0-beta.24 | ||
- FIX trackingData no longer throws errors when underlying data is not present | ||
### v1.0.0-beta.23 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "ember-nf-graph", | ||
"version": "1.0.0-beta.23", | ||
"version": "1.0.0-beta.24", | ||
"description": "A graphing/charting DSL for Ember.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
192004
5625