
Anki Bar Graph
(Last 30 Days Review Bar Graph for Decks screen)
π AnkiWeb
https://ankiweb.net/shared/info/1487842475
What this add-on does
Anki Bar Graph displays your recent review activity as a bar graph directly on the Decks screen.
- No Statistics window
- Always visible
- Immediate feedback when you open Anki
By default, it shows your recent review history, helping you keep track of study momentum at a glance.
Core Features
- π Bar graph shown directly on the Decks screen
- π
Displays review counts for a configurable recent period
- π Automatically updates after review sessions
- π― Optional daily goal line
- π± Hover to see exact review counts per day
- πͺΆ Lightweight and fast (cached DB access)
π Recent Updates (Latest Features)
π Configurable date range
You can now choose how many days to display:
- 7 days
- 30 days
- 90 days
- 180 days
- 365 days
This supports both short-term habit tracking and long-term trend analysis.
π¨ Full color customization (GUI color picker)
All colors can be configured via a color picker UI (no manual RGBA editing).
Customizable elements include:
- Past days bars
- Todayβs bar
- Goal-achieved bars
- Goal line
- Background / border colors
π§© Unified color setting components
All color options use a shared internal RGBA picker row, providing:
- Consistent UI behavior
- Easier maintenance
- Predictable previews across settings
π± Improved scroll behavior (UX fix)
Mouse wheel / trackpad scrolling is disabled on numeric and combo inputs to prevent:
- Accidental value changes while scrolling
- Unintended edits in the settings dialog
Applies to:
β‘ Safer configuration handling
- Invalid values (e.g. unsupported range days) are auto-corrected
- Unknown config keys are preserved during updates
- Reset to defaults reliably restores the original state
Configuration
Open:
Tools β Add-ons β Bar Graph β Config
Available options include:
- Enable / disable graph
- Display range (7β365 days)
- Daily review goal
- Bar width and spacing
- Chart height
- Full RGBA color customization (GUI)
For detailed descriptions, see config.md.
Installation
From AnkiWeb (recommended)
- Open Anki
- Tools β Add-ons β Get Add-ons
- Enter the code from AnkiWeb
- Restart Anki
π https://ankiweb.net/shared/info/1487842475
Manual (GitHub)
-
Download or clone this repository
-
Place it in:
Anki2/<profile>/addons21/anki-bar-graph/
-
Restart Anki
Performance Notes
- Queries only the selected recent range (max 365 days)
- Results are cached
- No background timers or polling
- Negligible impact even on large collections
Compatibility
- Anki 24.x
- Anki 25.x
- Windows / macOS / Linux
License
MIT License
Author
Created by @yuwayanagitani
Notes
- This add-on does not modify cards, decks, or scheduling
- The graph is shown only on the Decks screen
- Deleting
config.json will recreate it with default values