Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
caev03 committed May 15, 2018
1 parent f0c23a6 commit ec595f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
</div>
<div class="row">
<div class="col-lg-8">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-striped" width="100%">
<thead>
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var width = Math.max(document.documentElement.clientWidth, window.innerWidth || 0)-100,
height = Math.max(document.documentElement.clientHeight, window.innerHeight || 0)-200,
var width = Math.max(document.documentElement.clientWidth, window.innerWidth || 0)-150,
height = Math.max(document.documentElement.clientHeight, window.innerHeight || 0)-300,
radius = Math.min(width, height) / 2;

var x = d3.scale.linear()
Expand All @@ -14,7 +14,7 @@ var svg = d3.select("#mySVG")
.attr("width", width)
.attr("height", function(){return height+10})
.append("g")
.attr("transform", "translate(" + width / 4.5 + "," + ((height / 2)+5) + ")");
.attr("transform", "translate(" + width / 3 + "," + ((height / 2)+5) + ")");

var partition = d3.layout.partition()
.sort(null)
Expand Down

0 comments on commit ec595f4

Please sign in to comment.