mihaeladuta commited on
Commit
8a7ed98
·
1 Parent(s): 7959c1b

Add angle to vega chart.

Browse files
Files changed (1) hide show
  1. src/visualisations.py +3 -1
src/visualisations.py CHANGED
@@ -62,7 +62,9 @@ def draw_grouped_counts_chart(dset, x, y, colour):
62
  'encoding': {'x': {'field': x,
63
  'type': 'nominal',
64
  'axis': {'title': "",
65
- 'labelLimit': 0}},
 
 
66
  'y': {'field': y,
67
  'type': 'nominal',
68
  'axis': {'title': "",
 
62
  'encoding': {'x': {'field': x,
63
  'type': 'nominal',
64
  'axis': {'title': "",
65
+ 'labelLimit': 0,
66
+ 'labelAngle': 90
67
+ }},
68
  'y': {'field': y,
69
  'type': 'nominal',
70
  'axis': {'title': "",