Becky Boes
unread,Jul 25, 2013, 6:22:40 AM7/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dc-js-us...@googlegroups.com
I've been using dc.js for several months and love it! Thanks for all your efforts.
I am building barcharts that are very small - for example, one is 120px high and 140px wide. They are all rendered with the DEFAULT_Y_AXIS_TICKS (=5) and all of the tick mark labels are scrunched together. I tried to change the number of ticks using
chart.yAxis().ticks(3)
but nothing changed. Modifying yAxisPadding helped a bit, but raised the graph above the x-axis. I was able to get it to work by adding a _yTicks method and modifying prepareYAxis() in the coordinateGridChart but would prefer not to touch the core code. Is there another way to do this?
Thanks,
Becky