Skip to content

Commit

Permalink
Merge pull request #222 from grmanit/master
Browse files Browse the repository at this point in the history
allow configuring tooltip for interactive guideline
  • Loading branch information
krispo committed Sep 10, 2015
2 parents 1e401ae + cbca9fa commit 1c5dafd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/angular-nvd3.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* AngularJS-nvD3, v1.0.1; MIT License; 07/09/2015 08:40
* AngularJS-nvD3, v1.0.1; MIT License; 09/09/2015 17:27
* http://krispo.github.io/angular-nvd3
**************************************************************************/
(function(){
Expand Down Expand Up @@ -230,6 +230,8 @@
].indexOf(key) === -1) {
if (options[key] === undefined || options[key] === null){
if (scope._config.extended) options[key] = value();
} else if (key === 'tooltip') {
configure(chart[key], options[key], chartType);
}
else chart[key](options[key]);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-nvd3.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/angular-nvd3.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@
].indexOf(key) === -1) {
if (options[key] === undefined || options[key] === null){
if (scope._config.extended) options[key] = value();
} else if (key === 'tooltip') {
configure(chart[key], options[key], chartType);
}
else chart[key](options[key]);
}
Expand Down

0 comments on commit 1c5dafd

Please sign in to comment.