mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
give the pie a background again
This commit is contained in:
parent
b47275599b
commit
a856665824
1 changed files with 7 additions and 3 deletions
|
@ -46,7 +46,7 @@ class Graphs(object):
|
||||||
h1 { margin-bottom: 0; margin-top: 1em; }
|
h1 { margin-bottom: 0; margin-top: 1em; }
|
||||||
body { font-size: 14px; }
|
body { font-size: 14px; }
|
||||||
table * { font-size: 14px; }
|
table * { font-size: 14px; }
|
||||||
.pielabel { text-align:center; padding:2px; color:white; }
|
.pielabel { text-align:center; padding:0px; color:white; }
|
||||||
</style>
|
</style>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -446,8 +446,12 @@ from cards where 1 %s""" % self._limit())
|
||||||
stroke=dict(color="#fff", width=5),
|
stroke=dict(color="#fff", width=5),
|
||||||
label=dict(
|
label=dict(
|
||||||
show=True,
|
show=True,
|
||||||
radius=0.7,
|
radius=0.8,
|
||||||
threshold=0.01))
|
threshold=0.01,
|
||||||
|
background=dict(
|
||||||
|
opacity=0.5,
|
||||||
|
color="#000"
|
||||||
|
)))
|
||||||
|
|
||||||
#conf['legend'] = dict(show=False)
|
#conf['legend'] = dict(show=False)
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue