Set Tenderfoot pub chart height (#125)

This commit is contained in:
Ben 2019-07-09 09:03:33 -06:00 committed by hudajkhan
parent 06726e0979
commit 1e487a8238

View file

@ -47,6 +47,8 @@
height = (chartHeight - margin.top - margin.bottom), height = (chartHeight - margin.top - margin.bottom),
g = svg.append("g").attr("transform", "translate(" + margin.left + "," + margin.top + ")"); g = svg.append("g").attr("transform", "translate(" + margin.left + "," + margin.top + ")");
svg.attr("width", chartWidth).attr("height",chartHeight)
var x = d3.scaleBand() var x = d3.scaleBand()
.rangeRound([0, width]) .rangeRound([0, width])
.paddingInner(0.05) .paddingInner(0.05)