From cb8ecac487c4d2fe748a4589f378a1a539f91671 Mon Sep 17 00:00:00 2001 From: Norbert Kwizera Date: Wed, 2 Dec 2020 12:50:54 +0200 Subject: [PATCH] Align labels to the left --- static/coffee/v2_polls.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/coffee/v2_polls.coffee b/static/coffee/v2_polls.coffee index 7e568c39a..a7ce9e098 100644 --- a/static/coffee/v2_polls.coffee +++ b/static/coffee/v2_polls.coffee @@ -358,12 +358,17 @@ showChart = (questionID, segmentName) -> enabled: true inside: true align: "left" + useHTML: true + crop: false + overflow: 'allow' padding: 10 style: { color: '#333' fontWeight: 'bold' fontSize: '0.75rem' textOutline: false + width: '180px' + overflow: 'hidden' } formatter: -> return this.point.name.toUpperCase()