0

I would like to have x-axis ticks with only around 10px height. Per default every tick has 100% height of the chart-container. How can I achieve this - setting a css-parameter won't work because the ticks are getting calcuated and the height is set as svg-attribute?!

Is there any kind of parameter in nvd3 I could set? Or do I have to do this via d3-code?

user3292546
  • 339
  • 5
  • 15
  • possible duplicate of [how to set height and width of nvd3 chart](http://stackoverflow.com/questions/16474988/how-to-set-height-and-width-of-nvd3-chart) – shabeer90 Sep 02 '15 at 09:18

1 Answers1

0

I believe tickSize is the property you are looking for. You can define it on your axis. This property is inherited from d3. Dont have much info on how it can be used but the community documentation mentions it here : Documentation

Hope this helps a bit.

hunters30
  • 501
  • 3
  • 21