dk8996 / Gantt-Chart

Gantt chart library using D3.js.
Gantt chart library using D3.js.
Apache License 2.0
396 stars 204 forks source link

add ability to set number of xAxis ticks #21

Open dojobo opened 8 years ago

dojobo commented 8 years ago

Like gantt.tickFormat(), this change wraps d3.svg.axis.ticks() so that the user can set the ticks they want to see on the x axis.

.ticks() is an optional call, so, as with d3.svg.axis, this change should not effect existing implementations that do not use .ticks().