novus/nvd3 — pull request #249 by daronco (2012-10-16 20:09:46+00:00)
Title: Allow labels in pie charts to be customized with css

I wanted to have labels with a black background and white text and couldn't do it with css only, so I made this change.

I'm not sure if adding "nv-label-empty" to empty labels is the best idea or if the labels should be entirely removed. I simply added the new class so it doesn't affect anything else. And I needed to add a class so that empty labels can be hidden (otherwise I would have "black " for labels).

Let me know if you like it or have suggestions :)