Browse Source

Fix select for arc - #523

pull/555/head
Masayuki Tanaka 10 years ago
parent
commit
40de0881fd
  1. 2
      c3.js
  2. 2
      c3.min.js
  3. 2
      src/selection.js

2
c3.js

@ -4736,7 +4736,7 @@
selected ? this.selectBar(target, d, i) : this.unselectBar(target, d, i);
};
c3_chart_internal_fn.toggleArc = function (selected, target, d, i) {
this.toggleBar(selected, target, d.data, i);
this.toggleBar(selected, target, d, i);
};
c3_chart_internal_fn.getToggle = function (that, d) {
var $$ = this,

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
src/selection.js

@ -43,7 +43,7 @@ c3_chart_internal_fn.toggleBar = function (selected, target, d, i) {
selected ? this.selectBar(target, d, i) : this.unselectBar(target, d, i);
};
c3_chart_internal_fn.toggleArc = function (selected, target, d, i) {
this.toggleBar(selected, target, d.data, i);
this.toggleBar(selected, target, d, i);
};
c3_chart_internal_fn.getToggle = function (that, d) {
var $$ = this,

Loading…
Cancel
Save