score:26

Accepted answer

I looked on nvd3.org and couldn't find any real documentation, but checking the source, I found https://github.com/novus/nvd3/blob/master/src/models/multiBarChart.js which showed a boolean chart parameter of "reduceXTicks" with a comment indicating it would do what you want. I tried it out with one of the example charts and it worked. Specifically, I used:

chart
   .reduceXTicks(true)

score:2

There is no proper documentation, but you can acheive it. Just add the below line to your chart reduceXTicks: false

Rest will follow. Thanks


Related Query

More Query from same tag