denisemauldin / d3-timeline

D3 timeline
BSD 3-Clause "New" or "Revised" License
168 stars 72 forks source link

Simple time-axis week count #19

Open danielprosser1 opened 5 years ago

danielprosser1 commented 5 years ago

I notice you can set the x-axis with...

.tickFormat({format: , tickTime: , tickInterval: , tickSize: , numTicks: , tickValues})

But is there a way to use an even simpler manually specified x-axis format such as...

Week 1, Week 2, Week 3

Or even just

1, 2, 3 etc along the x-axis without it relating to a specific date/time?

Apologies if I'm missing something obvious but I couldn't see this case covered in the documentation. Thanks!