Bubble in Legend

TeeChart for ActiveX, COM and ASP
Post Reply
BigMike
Newbie
Newbie
Posts: 13
Joined: Mon Oct 15, 2001 4:00 am
Location: Irvine CA
Contact:

Bubble in Legend

Post by BigMike » Tue Sep 28, 2004 10:51 pm

Christopher,

You asked for a snippet, the last bubble in the legend is flattened?

Here is the snippet of code:
[i = 1
adoRs.MoveFirst
Do Until adoRs.EOF
With QuadrantChart.Series(1).asBubble
.AddBubble adoRs.Fields(3).Value, adoRs.Fields(2).Value, 0.8, i, RGB(ChartColorRed(i), ChartColorGreen(i), ChartColorBlue(i))
i = i + 1
adoRs.MoveNext
End With
Loop]

What do you think?

BigMike[/code]

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Sep 28, 2004 11:29 pm

Hi Mike,

yes, I see what you refer. You can solve this setting a width for the symbol, i.e. :

TChart1.Legend.Symbol.WidthUnits = lcsPixels
TChart1.Legend.Symbol.Width = 10

BigMike
Newbie
Newbie
Posts: 13
Joined: Mon Oct 15, 2001 4:00 am
Location: Irvine CA
Contact:

Looks Like an American Football!

Post by BigMike » Wed Sep 29, 2004 9:48 pm

Pep,

I got the code in and saw some results, however the last one still is oblong not round?

Any other ideas?

Mike

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Sep 30, 2004 6:20 am

Hi Mike,

I thought you refer to another thing. I cannot reproduce the problem here with the latest TeeChart Pro v7, could you please be so kind to send me a code with which I can reproduce the problem "as-is" here ?

Post Reply