Commit f14e7d1b authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix legend focus when focus() called

parent 39324817
...@@ -2566,6 +2566,7 @@ ...@@ -2566,6 +2566,7 @@
if (hasArcType(c3.data.targets)) { if (hasArcType(c3.data.targets)) {
expandArc(target, true); expandArc(target, true);
} }
focusLegend(target);
}; };
c3.defocus = function (target) { c3.defocus = function (target) {
...@@ -2594,6 +2595,7 @@ ...@@ -2594,6 +2595,7 @@
if (hasArcType(c3.data.targets)) { if (hasArcType(c3.data.targets)) {
unexpandArc(target); unexpandArc(target);
} }
revertLegend();
}; };
c3.show = function (target) { c3.show = function (target) {
......
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