flot/flot — pull request #52 by olivierguerriat (2012-07-03 10:28:51+00:00)
Title: Basic retina display support

Hi,

I modified makeCanvas() and resizeCanvas() in order for flot chart to look sharp on retina displays.

I only tested it on an iPad 3 (on which it looks gorgeous), but it should work well on the new MacBook Pro with retina display as I followed Apple's advices (from the WWDC 2012 session about delivering web content on high resolution displays).

Absolutely no changes have to be made by the user, updating flot only should make charts retina-ready.

I'm worried about edge cases because I probably not tested it enough as I'm not that familiar with flot source code, but it works really well for my use case.

Regards,

olivier