stacked bar of uneven width

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steffen
Newbie
Newbie
Posts: 23
Joined: Mon Sep 07, 2009 12:00 am

stacked bar of uneven width

Post by Steffen » Sun Nov 29, 2009 8:21 pm

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
Attachments
bar with uneven width.jpg
bar with uneven width.jpg (4.43 KiB) Viewed 8440 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: stacked bar of uneven width

Post by Yeray » Mon Nov 30, 2009 11:14 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steffen
Newbie
Newbie
Posts: 23
Joined: Mon Sep 07, 2009 12:00 am

Re: stacked bar of uneven width

Post by Steffen » Mon Nov 30, 2009 3:05 pm

Hi Yeray,

where would I send it to?

Brgds.
Steffen

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: stacked bar of uneven width

Post by Narcís » Mon Nov 30, 2009 3:23 pm

Hi Steffen,

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

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Steffen
Newbie
Newbie
Posts: 23
Joined: Mon Sep 07, 2009 12:00 am

Re: stacked bar of uneven width

Post by Steffen » Mon Nov 30, 2009 3:26 pm

Hola muchachos,

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

Brgds.
Steffen
Attachments
sample.zip
(498.29 KiB) Downloaded 504 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: stacked bar of uneven width

Post by Yeray » Wed Dec 02, 2009 11:21 am

Hola Steffen!

Could you please try adding the following?

Code: Select all

Series1.BarWidthPercent:=70;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steffen
Newbie
Newbie
Posts: 23
Joined: Mon Sep 07, 2009 12:00 am

Re: stacked bar of uneven width

Post by Steffen » Wed Dec 02, 2009 2:00 pm

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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: stacked bar of uneven width

Post by Yeray » Fri Dec 04, 2009 3:43 pm

Hi Steffen,

I've added this to the wish list to be revised in future releases (TV52014584).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply