Commit 26d92117 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix update x domain for flow

parent 3022a2f3
...@@ -1367,7 +1367,9 @@ ...@@ -1367,7 +1367,9 @@
} }
// Trim domain when too big by zoom mousemove event // Trim domain when too big by zoom mousemove event
$$.x.domain($$.trimXDomain($$.x.orgDomain())); if (!domain) {
$$.x.domain($$.trimXDomain($$.x.orgDomain()));
}
return $$.x.domain(); return $$.x.domain();
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -203,7 +203,9 @@ c3_chart_internal_fn.updateXDomain = function (targets, withUpdateXDomain, withU ...@@ -203,7 +203,9 @@ c3_chart_internal_fn.updateXDomain = function (targets, withUpdateXDomain, withU
} }
// Trim domain when too big by zoom mousemove event // Trim domain when too big by zoom mousemove event
$$.x.domain($$.trimXDomain($$.x.orgDomain())); if (!domain) {
$$.x.domain($$.trimXDomain($$.x.orgDomain()));
}
return $$.x.domain(); return $$.x.domain();
}; };
......
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