Skip to content

Commit

Permalink
change fks chart width and height for big size screen
Browse files Browse the repository at this point in the history
  • Loading branch information
hjzheng committed Mar 3, 2015
1 parent 09ebdd8 commit 6f269d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fks-chart/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ angular.module('frontEnd', ["hc.marked"])
});

var svg = d3.select($el[0]).append("svg")
.attr("width", radius * 2)
.attr("height", radius * 2)
.attr("width", document.documentElement.clientWidth)
.attr("height", document.documentElement.clientHeight - 5)
.call(
d3.behavior.zoom().scaleExtent([0.6, 3]).on("zoom", zoom)
);
Expand Down

0 comments on commit 6f269d1

Please sign in to comment.