diff --git a/ftl/core/statistics.ftl b/ftl/core/statistics.ftl
index 685bcabe6..e03a332c2 100644
--- a/ftl/core/statistics.ftl
+++ b/ftl/core/statistics.ftl
@@ -87,6 +87,7 @@ statistics-counts-early-cards = Early
statistics-counts-learning-cards = Learning
statistics-counts-relearning-cards = Relearning
statistics-counts-title = Card Counts
+statistics-counts-separate-suspended-buried-cards = Separate suspended / buried cards
statistics-range-all-time = all
statistics-range-1-year-history = last 12 months
statistics-range-all-history = all history
diff --git a/ts/graphs/CardCounts.svelte b/ts/graphs/CardCounts.svelte
index b31794c22..51b405389 100644
--- a/ts/graphs/CardCounts.svelte
+++ b/ts/graphs/CardCounts.svelte
@@ -4,10 +4,12 @@
import type { GraphData, TableDatum } from "./card-counts";
import type pb from "anki/backend_proto";
import type { I18n } from "anki/i18n";
+ import SeparateInactiveCheckbox from "./SeparateInactiveCheckbox.svelte";
export let sourceData: pb.BackendProto.GraphsOut;
export let i18n: I18n;
+ let separateInactive = false;
let svg = null as HTMLElement | SVGElement | null;
let bounds = defaultGraphBounds();
@@ -16,8 +18,9 @@
let graphData = (null as unknown) as GraphData;
let tableData = (null as unknown) as TableDatum[];
+
$: {
- graphData = gatherData(sourceData, i18n);
+ graphData = gatherData(sourceData, separateInactive, i18n);
tableData = renderCards(svg as any, bounds, graphData);
}
@@ -52,6 +55,10 @@
{graphData.title}
+
+
+
+