novus/nvd3 — pull request #234 by Mindonaut (2013-08-24 00:44:16+00:00)
Title: Passing the correct data object to the color function for the pie chart

According to nv.utils.getColor(), The color() function should return a "color" property present in the data packet that draws a slice.
In the case of the pie chart, the data passed, does not contain the user created data, but the parent object that contains it.
This patch corrects that, and passes the right object to the color method, so it can display user defined custom colors to render an element in the data set for the pie chart.