Commit 40de0881 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix select for arc - #523

parent 90eb353b
...@@ -4736,7 +4736,7 @@ ...@@ -4736,7 +4736,7 @@
selected ? this.selectBar(target, d, i) : this.unselectBar(target, d, i); selected ? this.selectBar(target, d, i) : this.unselectBar(target, d, i);
}; };
c3_chart_internal_fn.toggleArc = function (selected, 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) { c3_chart_internal_fn.getToggle = function (that, d) {
var $$ = this, var $$ = this,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -43,7 +43,7 @@ c3_chart_internal_fn.toggleBar = function (selected, target, d, i) { ...@@ -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); selected ? this.selectBar(target, d, i) : this.unselectBar(target, d, i);
}; };
c3_chart_internal_fn.toggleArc = function (selected, 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) { c3_chart_internal_fn.getToggle = function (that, d) {
var $$ = this, var $$ = this,
......
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