Jump to content
Software FX Community

change size of bubble


binukjohn
 Share

Recommended Posts

I am plotting a bubble chart in ASP.NET. I am using data driven X,Y and size values. In some cases, these values will be zero. Inn such cases, the size of the bubble is zero.Hence the bubble is not plotting. I want the bubble to plot in such cases also. Is there a way I can increae the size of the bubble(maybe add 1 to the size) using code?

Link to comment
Share on other sites

Hi,

Well, since the second series of the bubble chart controls the size of the bubble, you just need to modify the values in this second series. By doing so, you will be modifying the size of the bubble.

For example, if the size of the first point is zero, then you just need to modify the first point in the second series, so it has a greater value:

chart1.Data[1, 0] = 10; //Bubble Size for bubble on point 1

Regards,

Randy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...