Page 1 of 1

stacked bar of uneven width

Posted: Sun Nov 29, 2009 8:21 pm
by 10054213
When displaying crossTab stacked bars, width of the stacked bar is not uniform. The green series (in this case) is wider.
Is this a known problem?
I use 8.06 Pro.
Best regards,
S. Wagner

Re: stacked bar of uneven width

Posted: Mon Nov 30, 2009 11:14 am
by yeray
Hi S. Wagner,

I've tried to reproduce it with the demo at All features\Welcome !\Database Charts\DB Crosstab source but couldn't. Could you please send us a simple example project we can run as-is to reproduce the problem here? Thanks in advance.

Re: stacked bar of uneven width

Posted: Mon Nov 30, 2009 3:05 pm
by 10054213
Hi Yeray,

where would I send it to?

Brgds.
Steffen

Re: stacked bar of uneven width

Posted: Mon Nov 30, 2009 3:23 pm
by narcis
Hi Steffen,

You can attach your files to your forums posts at the "Upload attachment" tab below the message text window.

Thanks in advance.

Re: stacked bar of uneven width

Posted: Mon Nov 30, 2009 3:26 pm
by 10054213
Hola muchachos,

here comes the sample project (compiled with D6 and Advantage Database client)

Brgds.
Steffen

Re: stacked bar of uneven width

Posted: Wed Dec 02, 2009 11:21 am
by yeray
Hola Steffen!

Could you please try adding the following?

Code: Select all

Series1.BarWidthPercent:=70;

Re: stacked bar of uneven width

Posted: Wed Dec 02, 2009 2:00 pm
by 10054213
Hi Yeray,

"70" does the trick!
It seems to be Teechart's magic number as it does not work with any other (I tried 65, 75 and 80).

If Editor (Series-Format-Size-Bar width) is set to "70", then additional line
Series2.BarWidthPercent := 70;
is not even necesarry.

To me, this looks like a bug, isn't it?

Thanks anyway,
Steffen

Re: stacked bar of uneven width

Posted: Fri Dec 04, 2009 3:43 pm
by yeray
Hi Steffen,

I've added this to the wish list to be revised in future releases (TV52014584).