From 46d87c69646a878db6b46eeaf0f69052a7a103c7 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Wed, 14 Sep 2016 13:02:15 +0200 Subject: [PATCH] Tilt Ordered/Paid Statistics Labels in order to show them all (#236) Alternative would be to set xLabelMargin to something low - but this would just cause new problems with very, very long names. --- .../statistics/static/pretixplugins/statistics/statistics.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pretix/plugins/statistics/static/pretixplugins/statistics/statistics.js b/src/pretix/plugins/statistics/static/pretixplugins/statistics/statistics.js index ad64ce91b..a796c1601 100644 --- a/src/pretix/plugins/statistics/static/pretixplugins/statistics/statistics.js +++ b/src/pretix/plugins/statistics/static/pretixplugins/statistics/statistics.js @@ -31,6 +31,7 @@ $(function () { ykeys: ['ordered', 'paid'], labels: [gettext('Placed orders'), gettext('Paid orders')], barColors: ['#000099', '#009900'], - resize: true + resize: true, + xLabelAngle: 60 }); }); \ No newline at end of file