Browse Source

Fix selected circle update

pull/246/head
Masayuki Tanaka 11 years ago
parent
commit
7ba8288ad2
  1. 4
      c3.js
  2. 2
      c3.min.js

4
c3.js

@ -3733,8 +3733,8 @@
.style("cursor", function (d) { return __data_selection_isselectable(d) ? "pointer" : null; });
// Update date for selected circles
targets.forEach(function (t) {
main.selectAll('.' + CLASS.selectedCircles + getTargetSelectorSuffix(t.id)).selectAll('.' + CLASS.selectedCircle).each(function (d, i) {
d.value = t.values[i].value;
main.selectAll('.' + CLASS.selectedCircles + getTargetSelectorSuffix(t.id)).selectAll('.' + CLASS.selectedCircle).each(function (d) {
d.value = t.values[d.index].value;
});
});
// MEMO: can not keep same color...

2
c3.min.js vendored

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