force y axis min of 0 in reps graph too

This commit is contained in:
Damien Elmes 2013-06-06 08:19:32 +09:00
parent 4d2101cf89
commit adaf951a5a

View File

@ -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