I'm using nvd3.js to generate a pie chart like this:
I've been trying to find a way of editing the legend labels so that they also show the value of each segment, like "en: 20%, de: 15%" etc.
I can easily edit the tooltip content with chart.tooltipContent()
but there doesn't seem to be a similar method for the legend, or at least nothing that I've found in the nvd3 docs or source code - does anybody know a way of doing this?