Re: [jQuery] New plugin: sparkline

2006-10-09 Thread Franck Marcia
2006/10/9, dizzledorf [EMAIL PROTECTED]: Nice work, Franck. Thank you. How do I get the sparklines to work with negative values? I plan to integrate it soon. Franck. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] New plugin: sparkline

2006-10-09 Thread Corey Jewett
Fixes for Safari: * Apple added Canvas for Dashboard (Tiger) and backported to Panther (as Safari 1.3), in the Mac world that's virtually everyone. Therefore, I added an explicit pass through for Safari because I can't find documentation for proper object detection. :( * The correct usage

Re: [jQuery] New plugin: sparkline

2006-10-09 Thread Corey Jewett
Argh! Does the ML reformat email? sparkline.js-safari.patch Description: Binary data On Oct 9, 2006, at 2:03 PM, Corey Jewett wrote: Fixes for Safari: * Apple added Canvas for Dashboard (Tiger) and backported to Panther (as Safari 1.3), in the Mac world that's virtually everyone.

[jQuery] New plugin: sparkline

2006-10-07 Thread Franck Marcia
Hi all, I've released a new plugin: sparkline. A sparkline is an inline graphic (http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001ORtopic_id=1). I borrowed the idea (and most of the code) from the TiddlyWiki project, a very good one-page wiki (http://www.tiddlywiki.com). Thanks to

Re: [jQuery] New plugin: sparkline

2006-10-07 Thread Karl Swedberg
On Oct 7, 2006, at 6:56 AM, Franck Marcia wrote: I've released a new plugin: sparkline. A sparkline is an inline graphic (http://www.edwardtufte.com/bboard/q-and-a-fetch-msg? msg_id=0001ORtopic_id=1). I borrowed the idea (and most of the code) from the TiddlyWiki project, a very good

Re: [jQuery] New plugin: sparkline

2006-10-07 Thread John Resig
Back in the day I wrote some sparkline code myself: http://ejohn.org/apps/jspark/ This particular one uses the Canvas element (giving it a nice antialias). My code looks kind of scary, in retrospect, but it seems like it wouldn't be too bad to give it a jQuery facelift. Franck - Doing a quick

Re: [jQuery] New plugin: sparkline

2006-10-07 Thread Franck Marcia
@ Karl: thank you for the info. @ John: I will take a look at canvas; I missed your implementation but now, I will certainly borrow some parts ;-) Cheers, Franck. 2006/10/7, John Resig [EMAIL PROTECTED]: Back in the day I wrote some sparkline code myself: http://ejohn.org/apps/jspark/ This

Re: [jQuery] New plugin: sparkline

2006-10-07 Thread Ⓙⓐⓚⓔ
I am a total sucker for images without files! I really like the use of a tiny inline image with different bg colors. I experimented with inline images in an atom feed... it didn't work for all feed readers! I also like the canvas method that John used, I look forward to your merged version! On

Re: [jQuery] New plugin: sparkline

2006-10-07 Thread Franck Marcia
2006/10/7, John Resig [EMAIL PROTECTED]: Franck - Doing a quick check to see if the user is using IE, or not, you could be able to use the Canvas element no problem. OK, I did it. Same address: http://fmarcia.info/jquery/sparkline/sparkline.html However, just one color in this case as it