Skip to content

Commit

Permalink
Fix selected circle update
Browse files Browse the repository at this point in the history
  • Loading branch information
masayuki0812 committed May 14, 2014
1 parent 4a94489 commit 7ba8288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions c3.js
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
Loading

0 comments on commit 7ba8288

Please sign in to comment.