dc-js / dc.js

Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js
Apache License 2.0
7.42k stars 1.81k forks source link

rotate labels #778

Open gordonwoodhull opened 9 years ago

gordonwoodhull commented 9 years ago

Everyone's having to write renderlets to get their x axis tick labels not to pile up.

That's dumb and can cause flicker.

gordonwoodhull commented 9 years ago

Flicker can be eliminated by using pretransition instead of renderlet.

Also I have seen this done with pure CSS. Needs more investigation, but perhaps we could add an optional rule to dc.css

gordonwoodhull commented 8 years ago

So, no you can't use just CSS (don't know why I thought I saw this work) because of the use of style instead of attr. But you will be able to in D3 4.0:

https://github.com/mbostock/d3/pull/2102