mbostock/d3 — Issue #428: How to add more scale steps to time axis.
Author: tandu
Created: 2012-01-02 16:26:13+00:00
State: open

I haven't found api to do this, so I have added lines right into d3.time into `d3_time_scaleSteps`

31536e6 * 5, // 5-year
31536e6 * 10, // 10-year
31536e6 * 50, // 50-year
31536e6 * 100, // 100-year
31536e6 * 1000 // 1000-year

and `d3_time_scaleLocalMethods`:

[d3.time.years, 5],
[d3.time.years, 10],
[d3.time.years, 50],
[d3.time.years, 100],
[d3.time.years, 1000]

Is it the only way or can you point me out how to add custom scale steps using d3 api?