ran make on previous changes

master-patched
twolf 12 years ago
commit 8e0160ad5f

@ -197,9 +197,7 @@ nv.addGraph(function() {
.color(keyColor)
//.clipEdge(true);
chart.stacked.scatter
.sizeRange([64,64])
.useVoronoi(false);
// chart.stacked.scatter.clipVoronoi(false);
chart.xAxis
.tickFormat(function(d) { return d3.time.format('%x')(new Date(d)) });

@ -8215,15 +8215,24 @@ nv.models.scatter = function() {
vertices.push([x.range()[0] - 2000, y.range()[0] + 2000, null, null]);
vertices.push([x.range()[1] + 2000, y.range()[1] - 2000, null, null]);
}
var bounds = d3.geom.polygon([
[0,0],
[0,height],
[width,height],
[width,0]
]);
var voronoi = d3.geom.voronoi(vertices).map(function(d, i) {
return {
'data': d,
'data': bounds.clip(d),
'series': vertices[i][2],
'point': vertices[i][3]
}
});
var pointPaths = wrap.select('.nv-point-paths').selectAll('path')
.data(voronoi);
pointPaths.enter().append('path')

4
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -189,15 +189,24 @@ nv.models.scatter = function() {
vertices.push([x.range()[0] - 2000, y.range()[0] + 2000, null, null]);
vertices.push([x.range()[1] + 2000, y.range()[1] - 2000, null, null]);
}
var bounds = d3.geom.polygon([
[0,0],
[0,height],
[width,height],
[width,0]
]);
var voronoi = d3.geom.voronoi(vertices).map(function(d, i) {
return {
'data': d,
'data': bounds.clip(d),
'series': vertices[i][2],
'point': vertices[i][3]
}
});
var pointPaths = wrap.select('.nv-point-paths').selectAll('path')
.data(voronoi);
pointPaths.enter().append('path')

Loading…
Cancel
Save