make sure y axis starts at 0
https://anki.tenderapp.com/discussions/ankidesktop/793-strange-scaling-in-statistics-bar-bug
This commit is contained in:
parent
69dc430504
commit
9875e26e06
@ -258,7 +258,7 @@ group by day order by day""" % (self._limit(), lim),
|
||||
d = data
|
||||
conf = dict(
|
||||
xaxis=dict(tickDecimals=0, max=0.5),
|
||||
yaxes=[dict(), dict(position="right")])
|
||||
yaxes=[dict(min=0), dict(position="right",min=0)])
|
||||
if days is not None:
|
||||
conf['xaxis']['min'] = -days+0.5
|
||||
def plot(id, data, ylabel, ylabel2):
|
||||
|
Loading…
Reference in New Issue
Block a user