d3.js - Y axis level need to be moved little left in dc.js chart -


i drawing charts using dc.js.the following frequency vs day chartthe following frequency vs day chart

i using following line generate titles:

..something.yaxislabel("frequency").xaxislabel('day'); 

but problem see when frequency large y axis title colliding frequency numbers. there simple way move y axis title left?

the layout of auxiliary elements such axes , legends not automatic in dc.js; use .margins() adjust necessary.

https://github.com/dc-js/dc.js/blob/master/web/docs/api-latest.md#marginsmargins

it great figure out automatically difficult calculate, , easy work around, guess no 1 has gotten annoyed enough submit fix. :)


Popular posts from this blog