Set Tenderfoot pub chart height (#125)
This commit is contained in:
parent
06726e0979
commit
1e487a8238
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue