novus/nvd3 — pull request #186 by Alric (2013-07-15 16:47:54+00:00)
Title: Add ability to provide custom labels to bullet chart.

I want the ability to provide custom labels to the bullet chart. This could be accomplished by manually hacking up the tooltipContent and checking against the default labels, but that seemed unmaintainable.

I added a way to specify labels as part of the data. Providing them as separate elements may not be the most elegant way to do this, but it seemed the cleanest way to add the functionality while minimizing the impact and likelihood of introducing side effects.

I added a separate bullet chart example to show specifying labels, but I don't know that it's important enough functionality to warrant a separate example in the main repo.