dist/angular-nvd3.js
function configure(chart, options, chartType){
                        if (chart && options){
                            angular.forEach(chart, function(value, key){
                                if (key[0] === '_');
                                else if (key === 'dispatch') {
                                    if (options[key] === undefined || options[key] === null) {
                                        if (scope._config.extended) options[key] = {};
                                    }
                                    configureEvents(value, options[key]);
                                }
                                else if (key === 'tooltip') {
                                    if (options[key] === undefined || options[key] === null) {
                                        if (scope._config.extended) options[key] = {};
                                    }
                                    configure(chart[key], options[key], chartType);
                                }
                                else if (key === 'contentGenerator') {
                                    if (options[key]) chart[key](options[key]);
                                }
                                else if ([
                                        'axis',
                                        'clearHighlights',
                                        'defined',
                                        'highlightPoint',
                                        'nvPointerEventsClass',
                                        'options',
                                        'rangeBand',
                                        'rangeBands',
                                        'scatter',
                                        'open',
                                        'close',
                                        'node'
                                    ].indexOf(key) === -1) {
                                    if (options[key] === undefined || options[key] === null){
                                        if (scope._config.extended) options[key] = value();
                                    }
                                    else chart[key](options[key]);
                                }
                            });
                        }
                    }
function configure(chart, options, chartType){
                        if (chart && options){
                            angular.forEach(chart, function(value, key){
                                if (key[0] === '_');
                                else if (key === 'dispatch') {
                                    if (options[key] === undefined || options[key] === null) {
                                        if (scope._config.extended) options[key] = {};
                                    }
                                    configureEvents(value, options[key]);
                                }
                                else if (key === 'tooltip') {
                                    if (options[key] === undefined || options[key] === null) {
                                        if (scope._config.extended) options[key] = {};
                                    }
                                    configure(chart[key], options[key], chartType);
                                }
                                else if (key === 'contentGenerator') {
                                    if (options[key]) chart[key](options[key]);
                                }
                                else if ([
                                        'axis',
                                        'clearHighlights',
                                        'defined',
                                        'highlightPoint',
                                        'nvPointerEventsClass',
                                        'options',
                                        'rangeBand',
                                        'rangeBands',
                                        'scatter',
                                        'open',
                                        'close',
                                        'node'
                                    ].indexOf(key) === -1) {
                                    if (options[key] === undefined || options[key] === null){
                                        if (scope._config.extended) options[key] = value();
                                    }
                                    else chart[key](options[key]);
                                }
                            });
                        }
                    }
function configure ( chart , options , chartType ) { if ( chart && options ) { angular . forEach ( chart , function ( value , key ) { if ( key [ 0 ] === '_' ) ; else if ( key === 'dispatch' ) { if ( options [ key ] === undefined || options [ key ] === null ) { if ( scope . _config . extended ) options [ key ] = { } ; } configureEvents ( value , options [ key ] ) ; } else if ( key === 'tooltip' ) { if ( options [ key ] === undefined || options [ key ] === null ) { if ( scope . _config . extended ) options [ key ] = { } ; } configure ( chart [ key ] , options [ key ] , chartType ) ; } else if ( key === 'contentGenerator' ) { if ( options [ key ] ) chart [ key ] ( options [ key ] ) ; } else if ( [ 'axis' , 'clearHighlights' , 'defined' , 'highlightPoint' , 'nvPointerEventsClass' , 'options' , 'rangeBand' , 'rangeBands' , 'scatter' , 'open' , 'close' , 'node' ] . indexOf ( key ) === - 1 ) { if ( options [ key ] === undefined || options [ key ] === null ) { if ( scope . _config . extended ) options [ key ] = value ( ) ; } else chart [ key ] ( options [ key ] ) ; } } ) ; } }
Configure the chart model with the passed options
Configure the chart model with the passed options