slightly increase x ticks
This commit is contained in:
parent
db832ec739
commit
fd0383cbe0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user