SparkLine + SliceGridPlugin = HistoGram

16 views
Skip to first unread message

jean-cédric

unread,
Sep 11, 2008, 6:36:19 AM9/11/08
to TiddlyWikiDev
http://pastebin.com/d44ae9190

Ex :
<<sliceGrid edit inline width:25 tags:task slices:+SprintDays>>
<<histoGram tags:task slices:+SprintDays>>

Need more details ?

jean-cédric

unread,
Sep 11, 2008, 8:38:56 AM9/11/08
to TiddlyWikiDev
I've forget this :


config.macros.sparkline.byNum = function(a,b)
{
return parseInt(b)-parseInt(a);
};

jean-cédric

unread,
Sep 11, 2008, 8:40:47 AM9/11/08
to TiddlyWikiDev

jean-cédric

unread,
Sep 11, 2008, 9:02:30 AM9/11/08
to TiddlyWikiDev
in the params you can pass :
width (or WIDTH or even WidTh) = the width of the histogram
height = the height of the histogram
tags = to retrieve all tiddlers tagged with
slices = which tiddler to use as top legend

jean-cédric

unread,
Sep 11, 2008, 9:08:42 AM9/11/08
to TiddlyWikiDev
Lots of craps still remain in the "code", if you're motivated,
refactor, because I'm out of time, I'm going to the functional without
necessarily be "clean".
It's crappy, but it's working !
Reply all
Reply to author
Forward
0 new messages