Page 1 of 1

Bubbles radius units

Posted: Tue Apr 04, 2006 9:37 pm
by 14580
Hi,

I need your help.
Does anyone know what the unit is for the bubbles series radius?
It seems sensitive to the X and Y values.
Is there a way to make the radius the same regardless of X and Y values?
Thanks.

-T

Posted: Wed Apr 05, 2006 4:24 pm
by 14580
Please, anyone? I really need your help.

Posted: Tue Apr 11, 2006 9:44 am
by Pep
Hi,

yes, sorry for delay, you could use :

Code: Select all

For i = 0 To TChart1.Series(0).asBubble.RadiusValues.Count - 1
TChart1.Series(0).asBubble.RadiusValues.Value(i) = 50
Next i
Also, an alternative is to use a Point Series instead, change its pointer style to Circle and set the desirable heigth and width.

Posted: Tue Apr 11, 2006 4:49 pm
by 14580
Thanks for the reply.
I guess my question was not clear.
I was able to set the radius to the same size for all bubbles in a series using
TChart1.GetSeries(0).GetAsBubble().AddBubble(xValue,yValue,100,someLabel,RGB(0,0,255));

What went wrong was when the yValue was too large (600,000,000), the bubbles all disappeared. Is there a way to make bubbles radius in pixels so that they will stay visible all the time?

My workaround is to set the radius to be some percentage of the Y value. I am wondering if there is a better way.

-T

Posted: Tue Apr 18, 2006 9:02 am
by Pep
Hi,

I'm afraid there's no way to set the radius in pixels. Other workaround could be to manually draw circles at every X,Y point on pointer repaint event.