X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/de5eb4996bbc8ab7d4263e70913de63e146d808d..19a7752021249eb8984e523fd6ed5a3730dc9be7:/IkiWiki/Plugin/postsparkline.pm?ds=inline 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})" : "";