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

Add support for retina displays #288

Closed duaneatat closed 8 years ago

duaneatat commented 8 years ago

Summary

Retina display screens (or other displays that have different deviceAspectRatio) are currently being viewed in non-retina resolution. This scales the canvases so that the parallel coordinates will be displayed in retina when available (see https://coderwall.com/p/vmkk6a/how-to-make-the-canvas-not-look-like-crap-on-retina for more info on how it works (forgive the title :))).

Let me know what you think, thanks!

Screenshots

(note: the improvement is more obvious in the real chart than shown in these screenshots) Before: image

After: image

syntagmatic commented 8 years ago

I've incorporated your change into Nutrient Parallel Coordinates II. It looks amazing, thank you!

duaneatat commented 8 years ago

Great! Thanks for this chart it's excellent. :dart:

dehli commented 8 years ago

Hi @syntagmatic, is there a reason why this wasn't merged into master? I think it would be very useful to incorporate it! :)

syntagmatic commented 8 years ago

@dehli Go ahead and merge!

dehli commented 8 years ago

Okay, I wanted to double check with you. Thanks!