increase number of y ticks

This commit is contained in:
Damien Elmes 2020-07-16 11:50:04 +10:00
parent 1ec869ee5e
commit db832ec739
4 changed files with 4 additions and 4 deletions

View file

@ -173,7 +173,7 @@ export function renderButtons(
.transition(trans)
.call(
axisLeft(y)
.ticks(bounds.height / 80)
.ticks(bounds.height / 50)
.tickSizeOuter(0)
);

View file

@ -62,7 +62,7 @@ export function histogramGraph(
.transition(trans)
.call(
axisLeft(y)
.ticks(bounds.height / 80)
.ticks(bounds.height / 50)
.tickSizeOuter(0)
);

View file

@ -96,7 +96,7 @@ export function renderHours(
.transition(trans)
.call(
axisLeft(y)
.ticks(bounds.height / 80)
.ticks(bounds.height / 50)
.tickSizeOuter(0)
);

View file

@ -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) {