Browse Source

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

pull/341/head
Andrew Hobden 11 years ago
parent
commit
e8ac367d45
  1. 1
      c3.js
  2. 2
      c3.min.js

1
c3.js

@ -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;
};

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save