c3_chart_fn.zoom = function () { }; c3_chart_fn.zoom.enable = function (enabled) { var $$ = this.internal; $$.config[__zoom_enabled] = enabled; $$.updateAndRedraw(); }; c3_chart_fn.unzoom = function () { var $$ = this.internal; $$.brush.clear().update(); $$.redraw({withUpdateXDomain: true}); };