ignacioct commited on
Commit
c9f7b16
β€’
1 Parent(s): 97bc1a2

bug/piechart_numbers_overlapping (#2)

Browse files

- more radius offset for text (922d88d7074219e8d094e2145c96d802c1f8abd2)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def donut_chart_target() -> alt.Chart:
136
 
137
  c1 = base.mark_arc(innerRadius=20, stroke="#fff")
138
 
139
- c2 = base.mark_text(radiusOffset=10).encode(text="values:Q")
140
 
141
  chart = c1 + c2
142
 
 
136
 
137
  c1 = base.mark_arc(innerRadius=20, stroke="#fff")
138
 
139
+ c2 = base.mark_text(radiusOffset=20).encode(text="values:Q")
140
 
141
  chart = c1 + c2
142