anki.stats#
Attributes#
Classes#
Do not use - this class is only left around for backwards compatibility. |
|
Module Contents#
- class anki.stats.CardStats(col: anki.consts.anki.collection.Collection, card: anki.consts.anki.cards.Card)#
Do not use - this class is only left around for backwards compatibility.
- card#
- txt = ''#
- report(include_revlog: bool = False) str#
- addLine(k: str, v: int | str) None#
- makeLine(k: str, v: str | int) str#
- date(tm: float) str#
- time(tm: float) str#
- anki.stats.PERIOD_MONTH = 0#
- anki.stats.PERIOD_YEAR = 1#
- anki.stats.PERIOD_LIFE = 2#
- anki.stats.colYoung = '#7c7'#
- anki.stats.colMature = '#070'#
- anki.stats.colCum = 'rgba(0,0,0,0.9)'#
- anki.stats.colLearn = '#00F'#
- anki.stats.colRelearn = '#c00'#
- anki.stats.colCram = '#ff0'#
- anki.stats.colIvl = '#077'#
- anki.stats.colHour = '#ccc'#
- anki.stats.colTime = '#770'#
- anki.stats.colUnseen = '#000'#
- anki.stats.colSusp = '#ff0'#
- class anki.stats.CollectionStats(col: anki.consts.anki.collection.Collection)#
- col#
- type = 0#
- width = 600#
- height = 200#
- wholeCollection = False#
- report(type: int = PERIOD_MONTH) str#
- css = Multiline-String#
Show Value
""" <style> h1 { margin-bottom: 0; margin-top: 1em; } .pielabel { text-align:center; padding:0px; color:white; } body:not(.night_mode) {background-image: url(data:image/png;base64,%s); } @media print { .section { page-break-inside: avoid; padding-top: 5mm; } } body { direction: ltr !important; } </style> """
- todayStats() str#
- get_start_end_chunk(by: str = 'review') tuple[int, int | None, int]#
- dueGraph() str#
- introductionGraph() str#
- repsGraphs() str#
- ivlGraph() str#
- easeGraph() str#
- hourGraph() str#
- cardGraph() str#