krispo / ng2-nvd3

Angular2 component for nvd3
http://krispo.github.io/ng2-nvd3/
MIT License
328 stars 104 forks source link

change tension of cardinal interpolation #130

Open tevel opened 7 years ago

tevel commented 7 years ago

cardinal interpolation has parameter "tensity" which allows to manipulate with length of tangens as described here https://github.com/d3/d3-shape/blob/master/README.md#curves

it would be great be able to change it in angular2

thanks!

tevel commented 7 years ago

actually I need to prevent graph from falling below to zero

https://cloud.githubusercontent.com/assets/230462/13883544/2e7629ce-ed2a-11e5-89d0-074705c85f2f.png