Black Lives Matter. Please consider donating to Black Girls Code today.

X Axis value in a specific order

Hi,

I am displaying Month and Year in a xaxis. I want to display all the months in order from Jan to Dec. can you please help me in this. Below is the same code.

The trick would be to convert your x-coordinates to JS dates: http://codepen.io/etpinard/pen/BjeyGj

Hi

Yes its work for me. But all the values are not displaying in x axis. In between one value is missing. Example x axis displaying Jan-2015 after that feb-2015 is not displaying. its jump to Mar-2015.