Commit e8ac367d authored by Andrew Hobden's avatar Andrew Hobden

Defaulted colors should be accessible from `chart.data.colors()`

parent 96bd4087
......@@ -2302,6 +2302,7 @@
else {
if (ids.indexOf(id) < 0) { ids.push(id); }
color = pattern[ids.indexOf(id) % pattern.length];
colors[id] = color;
}
return callback instanceof Function ? callback(color, d) : color;
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment