Printing Date In Different Format On X-axis In D3.js
I am using D3.js to build this line chart.and its working fine . but i am not able to print the months on x-axis in abbreviated form (jan,feb....) here how i am parsing the date. v
Solution 1:
just use tickFormat with a d3.time.format inside
var xAxis = d3.svg.axis().scale(x).orient("bottom").tickFormat(d3.time.format("%H"))
Post a Comment for "Printing Date In Different Format On X-axis In D3.js"