]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/sparkline.mdwn
alternate suggestion
[ikiwiki.git] / doc / plugins / sparkline.mdwn
index 00ed4b5c5d6771a0563f73c7aec09060a4351440..19b07b81248f3464b638488bdc4b31ec08785771 100644 (file)
@@ -24,7 +24,7 @@ This plugin also uses the [[!cpan Digest::SHA1]] perl module.
 
 # examples
 
-       \[[sparkline 1 3 5 -3 10 0 width=40 height=16
+       \[[!sparkline 1 3 5 -3 10 0 width=40 height=16
        featurepoint="4,-3,red,3" featurepoint="5,10,green,3"]]
 
 This creates a simple line graph, graphing several points.
@@ -35,7 +35,7 @@ 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.
 
-       \[[sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) style=bar barwidth=2
+       \[[!sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) style=bar barwidth=2
        barspacing=1 height=13]]
 
 This more complex example generates a bar graph.