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

Added flipAxes and animationTime #291

Closed dehli closed 8 years ago

dehli commented 8 years ago

This adds flipAxes which can be called like:

parcoords.flipAxes(['x', 'z']);

Additionally, it adds animationTime which configures how long it takes for the axes to flip on double click.

parcoords.animationTime(500);

The whitespace changes are either trailing space that's been removed or replacing tabs with spaces.

BroHammie commented 8 years ago

@dehli don't forget to commit the files that you edit i.e. don't edit the d3.parcoords.js file directly. Run make clean then make before committing.

dehli commented 8 years ago

Oops, thanks @mcwillso! I've just been modifying d3.parcoords.js directly. Didn't notice that in the readme. Thanks for all the help you've been!

Maybe I can add a gulp task later so that whenever you modify a file in src it auto compiles d3.parcoords

syntagmatic commented 8 years ago

Someday we should consider moving to the new d3 plugin pattern, but it would be a pretty big refactor to get there. The make workflow is a bit cumbersome, especially since the separate files aren't cleanly separated modules (they use the same namespace).

https://bost.ocks.org/mike/d3-plugin/

Thanks again @dehli and @mcwillso!

dehli commented 8 years ago

Thanks for the link @syntagmatic! I will look into that when I have some time. I'll go ahead and merge this pull request then.