syntagmatic / parallel-coordinates

A d3-based parallel coordinates plot in canvas. This library is no longer actively developed.
http://syntagmatic.github.com/parallel-coordinates/
Other
511 stars 212 forks source link

Lines are invisible (out of canvas) when smoothing is on #354

Open ultmaster opened 4 years ago

ultmaster commented 4 years ago

Hi all. Thanks for building this great toolkit.

Recently I found that turning on smoothing is a good choice. It makes the chart look nicer and sometimes more friendly. But I notice that some of the lines are invisible (overflow out of canvas) when smoothing is on.

The following snapshot is taken directly from the demo github.io page:

image

It looks a more serious problem in my case:

image

I googled. Stackoverflow says that there is no such thing as overflow: visible for canvas. Canvas needs to be enlarged to make sure everything is drawn inside.

Any workarounds on this? Thanks.