mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05: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
|
xaxis['max'] = end-0.5
|
||||||
txt += self._graph(id="due", data=data,
|
txt += self._graph(id="due", data=data,
|
||||||
ylabel2=_("Cumulative Cards"), conf=dict(
|
ylabel2=_("Cumulative Cards"), conf=dict(
|
||||||
xaxis=xaxis, yaxes=[dict(), dict(
|
xaxis=xaxis, yaxes=[dict(min=0), dict(
|
||||||
tickDecimals=0, position="right")]))
|
min=0, tickDecimals=0, position="right")]))
|
||||||
txt += self._dueInfo(tot, len(totd)*chunk)
|
txt += self._dueInfo(tot, len(totd)*chunk)
|
||||||
return txt
|
return txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue