slightly increase x ticks

This commit is contained in:
Damien Elmes 2020-07-16 11:53:20 +10:00
parent db832ec739
commit fd0383cbe0
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ export function histogramGraph(
const x = data.scale.range([bounds.marginLeft, bounds.width - bounds.marginRight]);
svg.select<SVGGElement>(".x-ticks")
.transition(trans)
.call(axisBottom(x).ticks(6).tickSizeOuter(0));
.call(axisBottom(x).ticks(7).tickSizeOuter(0));
// y scale

View File

@ -160,7 +160,7 @@ export function renderReviews(
x.range([bounds.marginLeft, bounds.width - bounds.marginRight]);
svg.select<SVGGElement>(".x-ticks")
.transition(trans)
.call(axisBottom(x).ticks(6).tickSizeOuter(0));
.call(axisBottom(x).ticks(7).tickSizeOuter(0));
// y scale