dist/angular-nvd3.js
function dataWatchFn(newData, oldData) {
                        if (newData !== oldData){
                            if (!scope._config.disabled) {
                                scope._config.refreshDataOnly ? scope.api.update() : scope.api.refresh(); // if wanted to refresh data only, use update method, otherwise use full refresh.
                            }
                        }
                    }
function dataWatchFn(newData, oldData) {
                        if (newData !== oldData){
                            if (!scope._config.disabled) {
                                scope._config.refreshDataOnly ? scope.api.update() : scope.api.refresh(); // if wanted to refresh data only, use update method, otherwise use full refresh.
                            }
                        }
                    }
function dataWatchFn ( newData , oldData ) { if ( newData !== oldData ) { if ( ! scope . _config . disabled ) { scope . _config . refreshDataOnly ? scope . api . update ( ) : scope . api . refresh ( ) ; // if wanted to refresh data only, use update method, otherwise use full refresh. } } }
Watching on data changing
Watching on data changing