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 adjust the width and height? #3

Open
yong2khoo88 opened this issue Mar 4, 2018 · 1 comment
Open

How to adjust the width and height? #3

yong2khoo88 opened this issue Mar 4, 2018 · 1 comment

Comments

@yong2khoo88
Copy link

adjust-width-height

First of all, thank you for this resource :)
Here, I would like to know, if it is possible to adjust the width and height?
As my data array is more than 10000, the circles are really small now... is it possible to adjust?

@mbaez
Copy link
Owner

mbaez commented Mar 6, 2018

hi @yong2khoo88, you can modify the size using the variables width and height in javascript.

var options = {
    container: "#test",
    label: "label",
    size: "size",
     width: 800, //put the width
     height: 800,// put the height
  };
  var viz = new BubbleChart(options);

or simply, with CSS.

#test {
  height: 100%;
  width:800px;
}

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

2 participants