Wayla / bezier-stream

Generate d3 svg on stream data
MIT License
8 stars 1 forks source link

Lines at 0 get cut off #3

Closed xcoderzach closed 11 years ago

xcoderzach commented 11 years ago

The aliasing on the line gets cut off if the curve is between something like [0,0] [0,5]. Setting the rangeStart to -1 solves the issue. But I think a more generalized solution would be better.

xcoderzach commented 11 years ago

Maybe a domainStart and rangeStart option that defaults to zero.

heapwolf commented 11 years ago

yeah, that sounds right to me.