Bubble Chart, bubble sizes not working

421 views
Skip to first unread message

Todd Telle

unread,
May 23, 2013, 2:49:46 PM5/23/13
to google-visua...@googlegroups.com
I have a bubble chart and I wish to restrict the diameter of the bubbles so they don't overlap as much. I have tried to set this using sizeAxis:{maxSize: 40,minSize:10}, and various alterations of the min and max sizes, and nothing I do seems to impact the size- the bubble diameters stay the same. How do I correctly change the sizes? I actually want all bubbles to be the same diameter, like in the animated version. 

Thanks in advance!
-T

asgallant

unread,
May 23, 2013, 3:33:04 PM5/23/13
to google-visua...@googlegroups.com
If you want all the bubbles to be the same size, you should set the max and min sizes to be the same:

sizeAxis: {
    maxSize: 20,
    minSize: 20
}

Todd Telle

unread,
May 23, 2013, 4:40:12 PM5/23/13
to google-visua...@googlegroups.com
Thanks asgallant- I did that which makes all the bubbles the same size, but the problem is the bubble diameter is too big. I need to be able to decrease the size of all the bubbles so they are smaller- nothing i do with the values of maxSize and MinSize changes the diameter- they remain all the same size which is causing a massive overlap and inability to see where things are at on the grid. 

asgallant

unread,
May 23, 2013, 5:35:41 PM5/23/13
to google-visua...@googlegroups.com
Using those options should control the size (the number is the diameter of the bubble in pixels); I confirmed that this works on the Visualization API playground.  If you could provide sample code which demonstrates the problem, I'll take a look and see what might be the problem.

Do you experience the problem in all browsers, or just one/some?
Reply all
Reply to author
Forward
0 new messages