Skip to content Skip to sidebar Skip to footer

Angular-nvD3 Bar Chart Y-axis Scaling Bug (AngularJS)

I have an application that creates one discrete bar chart. For some reason that I can't explain (which seems to be an internal error in the library), the y-axis scales to a data va

Solution 1:

* UPDATE * (Meanwhile, I found a solution. I have to answer my own question.)

Simply by forcing the Y max value by adding to the chart options the following option:

yDomain: [0, 25797]

I found the solution to this "bug" here: https://github.com/krispo/angular-nvd3/issues/47


Post a Comment for "Angular-nvD3 Bar Chart Y-axis Scaling Bug (AngularJS)"