mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
increase number of y ticks
This commit is contained in:
parent
1ec869ee5e
commit
db832ec739
4 changed files with 4 additions and 4 deletions
|
@ -173,7 +173,7 @@ export function renderButtons(
|
|||
.transition(trans)
|
||||
.call(
|
||||
axisLeft(y)
|
||||
.ticks(bounds.height / 80)
|
||||
.ticks(bounds.height / 50)
|
||||
.tickSizeOuter(0)
|
||||
);
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ export function histogramGraph(
|
|||
.transition(trans)
|
||||
.call(
|
||||
axisLeft(y)
|
||||
.ticks(bounds.height / 80)
|
||||
.ticks(bounds.height / 50)
|
||||
.tickSizeOuter(0)
|
||||
);
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ export function renderHours(
|
|||
.transition(trans)
|
||||
.call(
|
||||
axisLeft(y)
|
||||
.ticks(bounds.height / 80)
|
||||
.ticks(bounds.height / 50)
|
||||
.tickSizeOuter(0)
|
||||
);
|
||||
|
||||
|
|
|
@ -172,7 +172,7 @@ export function renderReviews(
|
|||
.transition(trans)
|
||||
.call(
|
||||
axisLeft(y)
|
||||
.ticks(bounds.height / 80)
|
||||
.ticks(bounds.height / 50)
|
||||
.tickSizeOuter(0)
|
||||
.tickFormat(((n: number): string => {
|
||||
if (showTime) {
|
||||
|
|
Loading…
Reference in a new issue