diff --git a/ts/src/stats/histogram-graph.ts b/ts/src/stats/histogram-graph.ts index be86d1a3b..d37c3d336 100644 --- a/ts/src/stats/histogram-graph.ts +++ b/ts/src/stats/histogram-graph.ts @@ -50,7 +50,7 @@ export function histogramGraph( const x = data.scale.range([bounds.marginLeft, bounds.width - bounds.marginRight]); svg.select(".x-ticks") .transition(trans) - .call(axisBottom(x).ticks(6).tickSizeOuter(0)); + .call(axisBottom(x).ticks(7).tickSizeOuter(0)); // y scale diff --git a/ts/src/stats/reviews.ts b/ts/src/stats/reviews.ts index a9102fbb0..3a5097365 100644 --- a/ts/src/stats/reviews.ts +++ b/ts/src/stats/reviews.ts @@ -160,7 +160,7 @@ export function renderReviews( x.range([bounds.marginLeft, bounds.width - bounds.marginRight]); svg.select(".x-ticks") .transition(trans) - .call(axisBottom(x).ticks(6).tickSizeOuter(0)); + .call(axisBottom(x).ticks(7).tickSizeOuter(0)); // y scale