aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/sparkline.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/sparkline.mdwn')
-rw-r--r--doc/plugins/sparkline.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/sparkline.mdwn b/doc/plugins/sparkline.mdwn
index 00ed4b5c5..19b07b812 100644
--- a/doc/plugins/sparkline.mdwn
+++ b/doc/plugins/sparkline.mdwn
@@ -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.