[Rt-commit] rt branch, 4.2/pie-chart-font, created. rt-4.2.0rc4-1-g4d9d9e0
Alex Vandiver
alexmv at bestpractical.com
Fri Sep 27 14:57:29 EDT 2013
The branch, 4.2/pie-chart-font has been created
at 4d9d9e02385b1ffee72991a9d0f8ec26cd5a95c0 (commit)
- Log -----------------------------------------------------------------
commit 4d9d9e02385b1ffee72991a9d0f8ec26cd5a95c0
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri Sep 27 14:44:51 2013 -0400
Re-add the "value_font" setting used by pie charts
This was mistakenly dropped in f3b33e9. Bar charts use "values_font",
and so had no issues. Without the proper font, wide characters were
displayed incorrectly, and the automatically chosen font was
additionally small and unreadable.
diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index 3dec02f..c284c22 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -430,6 +430,7 @@ if ($chart->get('width') != $Width || $chart->get('height') != $Height ) {
label_font => [ $font, 14 ],
y_axis_font => [ $font, 12 ],
values_font => [ $font, 12 ],
+ value_font => [ $font, 12 ],
%chart_options,
);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list