Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to increase the workspace of venn diagram #129

Open
suchetaswabhav opened this issue Nov 28, 2018 · 1 comment
Open

How to increase the workspace of venn diagram #129

suchetaswabhav opened this issue Nov 28, 2018 · 1 comment

Comments

@suchetaswabhav
Copy link

Hi ,

I am using the venn diagram code from here in my angular2+ code -
similar to yours, only a fiddle made out of it.
http://jsfiddle.net/johnpham92/h04sknus/

code

app.js

var sets;
sets = JSON.parse(localStorage.getItem("sets"));
  console.log("sets=",sets)

var chart = venn.VennDiagram();
d3.select("#venn").datum(sets).call(chart);

app.component.html

<div id="venn"></div>

When the number of nodes increase , the names overlap like this -

api_mining_venn_workspace

Please help to increase the workspace size.

@suchetaswabhav
Copy link
Author

I got the method -

chart = venn.VennDiagram().width(1200).height(1300);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant