Reputation: 103
I'd like to be able to display time using the 24 hour clock. When I generate a time axis, the default display is in the 12 hour clock. So far, I haven't found a way of changing this. Can this be done?
Upvotes: 1
Views: 1392
Reputation: 38147
(Without seeing any code its difficult to suggest an exact answer)
But you could use the following to create 24 hour time format :
var format = d3.time.format("%H:%M");
see the d3 time formatting docs here
Upvotes: 3