From db832ec739403097367737718792a8473496ed28 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 16 Jul 2020 11:50:04 +1000 Subject: [PATCH] increase number of y ticks --- ts/src/stats/buttons.ts | 2 +- ts/src/stats/histogram-graph.ts | 2 +- ts/src/stats/hours.ts | 2 +- ts/src/stats/reviews.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/src/stats/buttons.ts b/ts/src/stats/buttons.ts index e761c521b..604523e90 100644 --- a/ts/src/stats/buttons.ts +++ b/ts/src/stats/buttons.ts @@ -173,7 +173,7 @@ export function renderButtons( .transition(trans) .call( axisLeft(y) - .ticks(bounds.height / 80) + .ticks(bounds.height / 50) .tickSizeOuter(0) ); diff --git a/ts/src/stats/histogram-graph.ts b/ts/src/stats/histogram-graph.ts index 9cfeb0632..be86d1a3b 100644 --- a/ts/src/stats/histogram-graph.ts +++ b/ts/src/stats/histogram-graph.ts @@ -62,7 +62,7 @@ export function histogramGraph( .transition(trans) .call( axisLeft(y) - .ticks(bounds.height / 80) + .ticks(bounds.height / 50) .tickSizeOuter(0) ); diff --git a/ts/src/stats/hours.ts b/ts/src/stats/hours.ts index 0fcb61c45..03c50d086 100644 --- a/ts/src/stats/hours.ts +++ b/ts/src/stats/hours.ts @@ -96,7 +96,7 @@ export function renderHours( .transition(trans) .call( axisLeft(y) - .ticks(bounds.height / 80) + .ticks(bounds.height / 50) .tickSizeOuter(0) ); diff --git a/ts/src/stats/reviews.ts b/ts/src/stats/reviews.ts index 24a31ddd8..a9102fbb0 100644 --- a/ts/src/stats/reviews.ts +++ b/ts/src/stats/reviews.ts @@ -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) {