Bar Graph

AnkiWeb addon 1487842475

Displays recent Anki review activity as a configurable bar graph on the Decks screen, with optional daily goal line, color customization, and cached performance.
AI-generated summary; may contain mistakes.

statisticsprogress-trackingappearance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2025-12-16
Anki versions
25.01~
Description language
en

Maintenance

stale

  • Last update or commit was 289 days before the snapshot (2025-12-16).
  • The repository has 2 GitHub Actions workflows.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.01+2025-12-16
History across monthly snapshots

Loading…

Similar addons

Level System

Adds XP, levels, streaks, combos, badges, achievements, HUD stats, and activity charts to Anki, with configurable goals, notifications, and display options.

statisticsprogress-trackinggamification

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 26.08.1~ Updated 2026-09-08

README

Decks screen – last 30 days bar graph


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:

  • Spin boxes
  • Combo boxes

⚑ 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)

  1. Open Anki
  2. Tools β†’ Add-ons β†’ Get Add-ons
  3. Enter the code from AnkiWeb
  4. Restart Anki

πŸ‘‰ https://ankiweb.net/shared/info/1487842475


Manual (GitHub)

  1. Download or clone this repository

  2. Place it in:

    Anki2/<profile>/addons21/anki-bar-graph/

  3. 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