How to plot time on the X-axis in non-ugly mode?
问题 This is ugly : I need something that is not ugly. Time series are very usual, but I not see how to build a "plug and play" chart with ISO dates. Perhaps an equivalent question is "How to use d3-scalelinear/Non-numeric range/Date with NVD3?" (or d3-scaletime) Notes This is the main code: nv.addGraph(function () { var chart = nv.models.discreteBarChart() //.x( d=> d.label ) // very Ugly! .x( d=> { let dd = new Date(d.label); return d3.time.format('%b %d')(dd) }) // Ugly, because need to jump