minor whitespace cleanup

master-patched
Bob Monteverde 12 years ago
parent 0a92e82fd7
commit 5ad03d6dee

@ -66,7 +66,6 @@ nv.addGraph(function() {
//TODO: Figure out a good way to do this automatically
nv.utils.windowResize(function() { d3.select('#chart1 svg').call(chart) });
//nv.utils.windowResize(chart.update); //update has transition stored, above does not transition on resize
return chart;
});

@ -98,13 +98,6 @@ nv.models.discreteBarChart = function() {
.selectAll('text')
.attr('transform', function(d,i,j) { return 'translate(0,' + (j % 2 == 0 ? '0' : '12') + ')' })
/*
xTicks.filter(function(d,i) {
return i % Math.ceil(data[0].values.length / (availableWidth / 100)) !== 0;
})
.selectAll('line, text')
.style('opacity', 0)
*/
yAxis
.scale(y)

Loading…
Cancel
Save