diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-11 18:09:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-11 18:09:20 -0400 |
commit | 251247f79f481eb1c4d735fa39d4c5fe80b803a8 (patch) | |
tree | d5dde410c35ad8ab29756a8ee3fa9c493dd7f829 /underlays/basewiki | |
parent | 701720198f2c3464b8fcac55a951e9f54cb4c1dc (diff) | |
download | ikiwiki-251247f79f481eb1c4d735fa39d4c5fe80b803a8.tar ikiwiki-251247f79f481eb1c4d735fa39d4c5fe80b803a8.tar.gz |
removed demos that accompny examples
This is sorta unfortunate, but I don't want turning the plugin on the cause
php to be forked unnecessarily. And moving them back to the plugin page
doesn't make sense in this case.
Diffstat (limited to 'underlays/basewiki')
-rw-r--r-- | underlays/basewiki/directive/sparkline.mdwn | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/underlays/basewiki/directive/sparkline.mdwn b/underlays/basewiki/directive/sparkline.mdwn index 53dea2619..911ba96fd 100644 --- a/underlays/basewiki/directive/sparkline.mdwn +++ b/underlays/basewiki/directive/sparkline.mdwn @@ -2,7 +2,7 @@ The `sparkline` directive is supplied by the [[!iki plugins/sparkline]] plugin. This directive allows for embedding sparklines into wiki pages. A sparkline is a small word-size graphic chart, that is designed to be -inlined alongside text. +displayes alongside text. # examples @@ -10,10 +10,6 @@ inlined alongside text. featurepoint="4,-3,red,3" featurepoint="5,10,green,3"]] This creates a simple line graph, graphing several points. -[[!if test="enabled(sparkline)" then=""" -[[!sparkline 1 3 5 -3 10 0 width=40 height=16 -featurepoint="4,-3,red,3" featurepoint="5,10,green,3"]] -"""]] It will be drawn 40 pixels wide and 16 pixels high. The high point in the line has a green marker, and the low point has a red marker. @@ -21,10 +17,6 @@ line has a green marker, and the low point has a red marker. barspacing=1 height=13]] This more complex example generates a bar graph. -[[!if test="enabled(sparkline)" then=""" -[[!sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) -style=bar barwidth=2 barspacing=1 height=13]] -"""]] The bars are 2 pixels wide, and separated by one pixel, and the graph is 13 pixels tall. Width is determined automatically for bar graphs. The points with negative values are colored red, instead of the default black. |