mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
show daily total as well in reviews graph
This commit is contained in:
parent
05302e6c2f
commit
da0e0e1854
1 changed files with 2 additions and 1 deletions
|
@ -222,8 +222,9 @@ export function renderReviews(
|
||||||
|
|
||||||
function tooltipText(d: BinType, cumulative: number): string {
|
function tooltipText(d: BinType, cumulative: number): string {
|
||||||
const day = dayLabel(i18n, d.x0!, d.x1!);
|
const day = dayLabel(i18n, d.x0!, d.x1!);
|
||||||
let buf = `<div>${day}</div>`;
|
|
||||||
const totals = totalsForBin(d);
|
const totals = totalsForBin(d);
|
||||||
|
const dayTotal = valueLabel(sum(totals));
|
||||||
|
let buf = `<div>${day}: ${dayTotal}</div>`;
|
||||||
const lines = [
|
const lines = [
|
||||||
[
|
[
|
||||||
darkerGreens(1),
|
darkerGreens(1),
|
||||||
|
|
Loading…
Reference in a new issue