I am trying to set the start and end for the x axis on a muli barchart. I can render the charts however it is drawing them in the order they are received, according to the dates in the object. How can I reorder the x axis so that is starts with a specific month, like May?
The months I feed d3 are 2 digit (01, 02, 03, etc...)
var chart = nv.models.multiBarChart();
chart.xAxis
.tickFormat(d3.format(',f'));
chart.yAxis
.tickFormat(d3.format(',.1f'));
d3.select('#chart svg')
.datum(data())
.transition().duration(500)
.call(chart)
;
nv.utils.windowResize(chart.update);
return chart;
});