X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/de5eb4996bbc8ab7d4263e70913de63e146d808d..376944cb026945ab597db01eb1e3aea4fa320007:/IkiWiki/Plugin/postsparkline.pm diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm index dc996ae32..9e885741e 100644 --- a/IkiWiki/Plugin/postsparkline.pm +++ b/IkiWiki/Plugin/postsparkline.pm @@ -58,7 +58,7 @@ sub preprocess (@) { #{{{ if (! @data) { # generate an empty graph - push @data, 0 foreach 1..$params{max}; + push @data, 0 foreach 1..($params{max} / 2); } my $color=exists $params{color} ? "($params{color})" : "";