Permalink
Browse files

Make the title font size in pie charts 150% of the legend font size

  • Loading branch information...
1 parent 0e75801 commit 6b2eb8e4546b0adf53631bac1f2f2a64b7a3896c @tadzik tadzik committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/SVG/Plot/Pie.pm
View
@@ -79,7 +79,7 @@ multi method plot(:$full = True, :$pie!) {
:x($.plot-width / 2),
:y(-0.5 * ($.height - $.plot-height)),
:text-anchor<middle>,
- :font-size<150%>,
+ :font-size(1.5 * $.legend-font-size),
$.title,
];
}

0 comments on commit 6b2eb8e

Please sign in to comment.