d3-bar icon indicating copy to clipboard operation
d3-bar copied to clipboard

Easing curves yield negative values

Open lukeed opened this issue 8 years ago • 0 comments

Certain easing curves result in negative attribute values. This can be seen when animating the "Kitchen Sink" example.

I've tried wrapping each attr function with Math.max to enforce 0 as the lower limit, but this doesn't seem to help any.

Attached partial screenshot as well.

screen shot 2016-11-15 at 7 40 10 pm

lukeed avatar Nov 16 '16 03:11 lukeed