X axis now adjust thenumber of ticks based on the width of the axis on the cumulativeLine model

master-patched
Bob Monteverde 12 years ago
parent ff9ca0d293
commit 86c7300826

@ -1589,7 +1589,7 @@ nv.models.cumulativeLine = function() {
xAxis
.domain(x.domain())
.range(x.range())
//.ticks( width / 100 )
.ticks( width / 100 )
.tickSize(-(height - margin.top - margin.bottom), 0);
g.select('.x.axis')

4
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -121,7 +121,7 @@ nv.models.cumulativeLine = function() {
xAxis
.domain(x.domain())
.range(x.range())
//.ticks( width / 100 )
.ticks( width / 100 )
.tickSize(-(height - margin.top - margin.bottom), 0);
g.select('.x.axis')

Loading…
Cancel
Save