mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
give the forecast a sensible limit
This commit is contained in:
parent
b5c8ba7b9f
commit
2d8faa8608
1 changed files with 4 additions and 1 deletions
|
|
@ -81,8 +81,11 @@ table * { font-size: 14px; }
|
|||
txt = self._title(
|
||||
_("Forecast"),
|
||||
_("The number of reviews due in the future."))
|
||||
xaxis = dict(tickDecimals=0, min=0)
|
||||
if end is not None:
|
||||
xaxis['max'] = end
|
||||
txt += self._graph(id="due", data=data, conf=dict(
|
||||
xaxis=dict(tickDecimals=0),
|
||||
xaxis=xaxis,
|
||||
yaxes=[dict(), dict(tickDecimals=0, position="right")]))
|
||||
txt += self._dueInfo(tot, len(totd))
|
||||
return txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue