Bumping to version 1.1.6b, due to change in scatter.js jitter hack. This can affect many charts.

master
Robin Hu 11 years ago
parent 9f2280bee7
commit 7b24a9c2f6

@ -3,7 +3,7 @@
var nv = window.nv || {};
nv.version = '1.1.5b';
nv.version = '1.1.6b';
nv.dev = true //set false when in production
window.nv = nv;
@ -10911,11 +10911,11 @@ nv.models.scatter = function() {
// *Injecting series and point index for reference
/* *Adding a 'jitter' to the points, because there's an issue in d3.geom.voronoi.
*/
var pX = getX(point,pointIndex) + Math.random() * 1e-7;
var pY = getY(point,pointIndex) + Math.random() * 1e-7;
var pX = getX(point,pointIndex);
var pY = getY(point,pointIndex);
return [x(pX),
y(pY),
return [x(pX)+ Math.random() * 1e-7,
y(pY)+ Math.random() * 1e-7,
groupIndex,
pointIndex, point]; //temp hack to add noise untill I think of a better way so there are no duplicates
})

4
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -2,7 +2,7 @@
var nv = window.nv || {};
nv.version = '1.1.5b';
nv.version = '1.1.6b';
nv.dev = true //set false when in production
window.nv = nv;

Loading…
Cancel
Save