eigenhombre / i3d3

D3-based plotting and histogramming library
25 stars 5 forks source link

Overlapping axis labels and ticks #5

Open mrocklin opened 10 years ago

mrocklin commented 10 years ago

The ticks on the y-axis can sometimes overlap the y-label as in the following small example.

screenshot

eigenhombre commented 10 years ago

Have you played with opt.padding_left?

I don't think it's likely I'll have time to guarantee non-collision between elements such as axis value labels and axis labels. Instead, I prefer to allow users to set various spacings per their taste/needs. if padding_left doesn't work, it would be extra-helpful if you could post the JavaScript a/o HTML for a minimum failing example.