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 211 forks source link

Extending axes and/or canvas so that smooth paths ( > 0 ) display above/below dimension range boundaries #263

Open johnraber opened 8 years ago

johnraber commented 8 years ago

Hi all, Great library and thanks for all the hard work. Is it possible to extend the canvas and each dimension axes so that smooth lines display. It seems that the control points for the bezier curves in some paths cause lines to not fall within the range of some dimensions, and therefore are not visible when rendered.

smooth_lines_dont_display_dimension_range_edges

Thanks.

joostslijkoort commented 8 years ago

Ah, i thought it was just me. Almost deserted to change the range of ticks to solve this, but that would be a bad solution.

SilenceTiger commented 5 years ago

I just meet the same problem.You may set scale of each demension to solve.If the maximum value and minimum value of a dimension named ‘AAA’ is MAX and MIN.You can do 'parcoords.set('AAA', [0.9 MIN,1.1 MAX])' after render chart.Of course,you can adjust param like 0.9,1.1.