areski / django-nvd3

Django wrapper for nvd3 - It's time for beautiful charts
Other
417 stars 124 forks source link

not all the x axis labels gets displayed #13

Open sal2row opened 11 years ago

sal2row commented 11 years ago

Hi, in multibarchart, I'm being puzzled since a while about not all the x axis labels contained in the "data_discretebarchart_container" js script variable being displayed.

only by excessively enlarging the graph window in the html file I get all the labels to be shown, otherwise only every other column's label is displayed (please see attachment). I've googled a lot about 'd3' and 'nvd3' without overcoming the issue: is there any suggestion you can provide? thanks a lot Salvatore

sshotxaxis

areski commented 10 years ago

I would recommend to check this directly to the nvd3 project https://github.com/novus/nvd3 There is certainly solution to improve the xlabel display and if it works on nvd3 we can port them to django-nvd3 too

HRK44 commented 9 years ago

I know It may be late, but it may help other people :

http://stackoverflow.com/questions/17101352/multibar-chart-with-nvd3-d3-only-shows-labels-for-every-other-tick-on-the-x-ax