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

@@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="906ccaea-ddf8-4975-a2c6-85ccd75313dc" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/js/barChart.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/barChart.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />

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');
//