Commit 01dea326 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix resize API

parent 49124ebb
...@@ -4564,6 +4564,7 @@ ...@@ -4564,6 +4564,7 @@
c3.resize = function (size) { c3.resize = function (size) {
__size_width = size ? size.width : null; __size_width = size ? size.width : null;
__size_height = size ? size.height : null; __size_height = size ? size.height : null;
c3.flush(); // TODO: need to be called twice because of update of legend
c3.flush(); c3.flush();
}; };
......
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