diff --git a/src/base-mixin.js b/src/base-mixin.js index 00c039d02..e4029f56e 100644 --- a/src/base-mixin.js +++ b/src/base-mixin.js @@ -1073,9 +1073,25 @@ dc.baseMixin = function (_chart) { ``` **/ _chart.options = function (opts) { + var applyOptions = [ + 'anchor', + 'group', + 'xAxisLabel', + 'yAxisLabel', + 'stack', + 'title', + 'point', + 'getColor', + 'overlayGeoJson' + ]; + for (var o in opts) { if (typeof(_chart[o]) === 'function') { - _chart[o].call(_chart, opts[o]); + if (opts[o] instanceof Array && applyOptions.indexOf(o) !== -1) { + _chart[o].apply(_chart, opts[o]); + } else { + _chart[o].call(_chart, opts[o]); + } } else { dc.logger.debug('Not a valid option setter name: ' + o); }