Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/graph/ui/Chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
}

render(d3.select("svg g"), g);

// adjust viewBox so that the whole graph can be shown, with scroll bar
d3.select("svg")
.attr('viewBox', '0 0 ' + g.graph().width + ' ' + g.graph().height);
});
},

Expand Down