Skip to content

Commit

Permalink
Align labels to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Dec 2, 2020
1 parent 0cd5334 commit cb8ecac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/coffee/v2_polls.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cb8ecac

Please sign in to comment.