mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge pull request #323 from SebastienGllmt/patch-1
Allow disabling timeTicks
This commit is contained in:
commit
442df9d668
1 changed files with 4 additions and 1 deletions
|
@ -811,7 +811,10 @@ from cards where did in %s""" % self._limit())
|
|||
conf['yaxis']['labelWidth'] = 40
|
||||
if 'xaxis' not in conf:
|
||||
conf['xaxis'] = {}
|
||||
conf['timeTicks'] = {1: _("d"), 7: _("w"), 31: _("mo")}[xunit]
|
||||
if xunit is None:
|
||||
conf['timeTicks'] = False
|
||||
else:
|
||||
conf['timeTicks'] = {1: _("d"), 7: _("w"), 31: _("mo")}[xunit]
|
||||
# types
|
||||
width = self.width
|
||||
height = self.height
|
||||
|
|
Loading…
Reference in a new issue