Commit 9aed465b5a8d730666ec7912fab6e391025623f0
1 parent
8b3ab81d
Exists in
master
and in
4 other branches
Wider chart
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
app/main/templates/agent.html
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | {% block content %} |
20 | 20 | <div id="charge_div"></div> |
21 | - <svg height="400" id="charge_chart" width="800"></svg> | |
21 | + <svg height="500" id="charge_chart" width="900"></svg> | |
22 | 22 | {% endblock %} |
23 | 23 | |
24 | 24 | |
... | ... | @@ -43,9 +43,9 @@ |
43 | 43 | <!-- </script>--> |
44 | 44 | <script> |
45 | 45 | |
46 | - const margin = {top: 20, right: 20, bottom: 90, left: 120}, | |
47 | - width = 800 - margin.left - margin.right, | |
48 | - height = 400 - margin.top - margin.bottom; | |
46 | + const margin = {top: 40, right: 40, bottom: 90, left: 120}, | |
47 | + width = 900 - margin.left - margin.right, | |
48 | + height = 500 - margin.top - margin.bottom; | |
49 | 49 | |
50 | 50 | const x = d3.scaleBand() |
51 | 51 | .range([0, width]) | ... | ... |