0

In a simple Angular-NVD3 line chart, I'm using forceY to set the domain manually to add a "padding" to the y datas to make the chart more readable.

The problem is that setting this will stop the chart from animating when I change the data. Here is a Codepen showing the problem: http://codepen.io/mvidailhet/pen/RpKBMz?editors=1010

I tried doing the same thing using only nvd3 and the transitions work: http://codepen.io/mvidailhet/pen/QpdZvo?editors=1010

Does anyone have a solution for this problem ?

forceY(currentDomain);
Mitch
  • 581
  • 5
  • 8

0 Answers0