mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
force y axis min of 0 in reps graph too
This commit is contained in:
parent
4d2101cf89
commit
adaf951a5a
1 changed files with 2 additions and 2 deletions
|
@ -214,8 +214,8 @@ where lastIvl >= 21 and id > ?"""+lim, (self.col.sched.dayCutoff-86400)*1000)
|
|||
xaxis['max'] = end-0.5
|
||||
txt += self._graph(id="due", data=data,
|
||||
ylabel2=_("Cumulative Cards"), conf=dict(
|
||||
xaxis=xaxis, yaxes=[dict(), dict(
|
||||
tickDecimals=0, position="right")]))
|
||||
xaxis=xaxis, yaxes=[dict(min=0), dict(
|
||||
min=0, tickDecimals=0, position="right")]))
|
||||
txt += self._dueInfo(tot, len(totd)*chunk)
|
||||
return txt
|
||||
|
||||
|
|
Loading…
Reference in a new issue