Page 1 of 1

Bubble in Legend

Posted: Tue Sep 28, 2004 10:51 pm
by 6921249
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]

Posted: Tue Sep 28, 2004 11:29 pm
by Pep
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

Looks Like an American Football!

Posted: Wed Sep 29, 2004 9:48 pm
by 6921249
Pep,

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

Any other ideas?

Mike

Posted: Thu Sep 30, 2004 6:20 am
by Pep
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 ?