Page 1 of 1

Legend bubble size

Posted: Tue Mar 17, 2009 8:12 am
by 13048624
Hi support team,

we have several bubble series in our chart, but the legend's bubble size is smaller than the bubbles in the Chart.

What can we do?

Thanks in advance,
Chris

Posted: Tue Mar 17, 2009 9:43 am
by 10050769
Hello Chris,
we have several bubble series in our chart, but the legend's bubble size is smaller than the bubbles in the Chart.
What can we do?
When you use bubble series, the radius of bubble can be very large, very small, or differents intermediate sizes, for this, not much sense that bubble of legend have same size bubble of chart, but if you want change the size of symbols of legend you could recomen using next code for example:

Code: Select all

            tChart1.Legend.Symbol.Width = 50;

Thanks,

Posted: Tue Mar 17, 2009 2:35 pm
by 13048624
Yes, I tried this - but the bubbles are squeezed. Only one value results in a round bubble - but this bubble is too small, in our case.
I also tried the Continous and Squared properties, but the bubbles are also squeezed or resized each one in a different way.

Is there a possibility to have a bigger legend bubble without changing the legend font size?

Thanks,
Chris

Posted: Wed Mar 18, 2009 1:24 pm
by 10050769
Hi Chris,

I comented some thinks,

First:
We found a bug with bubbles smashed effect, and is added to the list of Bug Reportnumber with number [TF02013970].
Is there a possibility to have a bigger legend bubble without changing the legend font size?
You could change the size of legend using next code for example:

Code: Select all

            tChart1.Legend.AutoSize = false;
            tChart1.Legend.Width = 200;
            tChart1.Legend.Height = 200;
            tChart1.Legend.Symbol.Width = 200; 
Also, If you prefer, you can change image of legend as explained in Demo of TeeChart .NET All Features\Welcome!\Miscellaneous\Legend\OnDrawSymbol Event


Thanks,