Issue #192 fixed position of distributions after amrgin changes
This commit is contained in:
parent
91d2ba0d57
commit
7d584841cd
8
nv.d3.js
8
nv.d3.js
@ -8449,9 +8449,9 @@ nv.models.scatterChart = function() {
|
||||
return d.color || color(d, i);
|
||||
}).filter(function(d,i) { return !data[i].disabled }));
|
||||
gEnter.select('.nv-distWrap').append('g')
|
||||
.attr('class', 'nv-distributionX')
|
||||
.attr('transform', 'translate(0,' + y.range()[0] + ')');
|
||||
.attr('class', 'nv-distributionX');
|
||||
g.select('.nv-distributionX')
|
||||
.attr('transform', 'translate(0,' + y.range()[0] + ')')
|
||||
.datum(data.filter(function(d) { return !d.disabled }))
|
||||
.call(distX);
|
||||
}
|
||||
@ -8465,9 +8465,9 @@ nv.models.scatterChart = function() {
|
||||
return d.color || color(d, i);
|
||||
}).filter(function(d,i) { return !data[i].disabled }));
|
||||
gEnter.select('.nv-distWrap').append('g')
|
||||
.attr('class', 'nv-distributionY')
|
||||
.attr('transform', 'translate(-' + distY.size() + ',0)');
|
||||
.attr('class', 'nv-distributionY');
|
||||
g.select('.nv-distributionY')
|
||||
.attr('transform', 'translate(-' + distY.size() + ',0)')
|
||||
.datum(data.filter(function(d) { return !d.disabled }))
|
||||
.call(distY);
|
||||
}
|
||||
|
2
nv.d3.min.js
vendored
2
nv.d3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -248,9 +248,9 @@ nv.models.scatterChart = function() {
|
||||
return d.color || color(d, i);
|
||||
}).filter(function(d,i) { return !data[i].disabled }));
|
||||
gEnter.select('.nv-distWrap').append('g')
|
||||
.attr('class', 'nv-distributionX')
|
||||
.attr('transform', 'translate(0,' + y.range()[0] + ')');
|
||||
.attr('class', 'nv-distributionX');
|
||||
g.select('.nv-distributionX')
|
||||
.attr('transform', 'translate(0,' + y.range()[0] + ')')
|
||||
.datum(data.filter(function(d) { return !d.disabled }))
|
||||
.call(distX);
|
||||
}
|
||||
@ -264,9 +264,9 @@ nv.models.scatterChart = function() {
|
||||
return d.color || color(d, i);
|
||||
}).filter(function(d,i) { return !data[i].disabled }));
|
||||
gEnter.select('.nv-distWrap').append('g')
|
||||
.attr('class', 'nv-distributionY')
|
||||
.attr('transform', 'translate(-' + distY.size() + ',0)');
|
||||
.attr('class', 'nv-distributionY');
|
||||
g.select('.nv-distributionY')
|
||||
.attr('transform', 'translate(-' + distY.size() + ',0)')
|
||||
.datum(data.filter(function(d) { return !d.disabled }))
|
||||
.call(distY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user