This commit is contained in:
Brady Bodily
2019-10-01 16:45:24 -06:00
parent b444adb83d
commit 773ec9ed2a
2 changed files with 1 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class BarChart {
.attr('x', (d,i) => xScale(d))
.attr('y', (d,i) => yScale(dataNum[i]))
.attr('width', xScale.bandwidth())
.attr('height', (d,i) => svgHeight - yScale(dataNum[i]))
.attr('height', (d,i) => svgHeight - yScale(dataNum[i])-xaxisHeight)
.attr('class', 'bar');
//