Skip to content

Commit

Permalink
fixed bugs with the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
krispo committed Apr 29, 2016
1 parent bf67edc commit 30e6e0f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Then build using [grunt](http://gruntjs.com/) (*node.js must be installed*):

### 1.0.7-dev
* added `debounceImmediate` flag
* added compatibility with nvd3 1.8.3

### [1.0.6](https://github.com/krispo/angular-nvd3/releases/tag/v1.0.6)
* merged with nvd3 1.8.2
Expand Down
5 changes: 4 additions & 1 deletion dist/angular-nvd3.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@
}

//TODO: need to fix bug in nvd3
else if ((key === 'focusHeight') && options.chart.type === 'lineChart');
else if ((key === 'focusHeight') && options.chart.type === 'lineWithFocusChart');
else if ((key === 'xTickFormat' || key === 'yTickFormat') && options.chart.type === 'lineWithFocusChart');
else if ((key === 'tooltips') && options.chart.type === 'boxPlotChart');
else if ((key === 'tooltipXContent' || key === 'tooltipYContent') && options.chart.type === 'scatterChart');
Expand Down Expand Up @@ -302,7 +304,8 @@
'rangeBands',
'scatter',
'open',
'close'
'close',
'node'
].indexOf(key) === -1) {
if (options[key] === undefined || options[key] === null){
if (scope._config.extended) options[key] = value();
Expand Down
Loading

0 comments on commit 30e6e0f

Please sign in to comment.