Got it
This commit is contained in:
1 parent
b444adb83d
commit
773ec9ed2a
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -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');
|
||||
//
|
||||
|
||||
|
||||
Reference in new issue
Block a user