Hello,
we use a TBarSeries in a DBCart with a DBCrossTabSource and BarSeries.Multibar := mbStacked. If we zoom into the Chart only the first BarSeries of the MultiBar paint correct if AutoBarSize := true, all other stacked Bars had zoomed the unzoomed width.
We use TChart Pro 7.07 with Delphi 7.
Can you help us?
Your sincerely
Willi Ebert
Problem with zoom in a DBCart with TBarSeries and a CrossTab
-
- Newbie
- Posts: 7
- Joined: Tue Sep 07, 2004 4:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Willi,
Using the All Features\Welcome!\Database Charts\CrossTab Charts example in the features demo and setting the series to mbStacked works fine here. Could you please test if it works fine at your end? If so, how should we reproduce the problem here?
Please notice that included with the binary installation you'll find complete TeeNew project.
Thanks in advance.
Using the All Features\Welcome!\Database Charts\CrossTab Charts example in the features demo and setting the series to mbStacked works fine here. Could you please test if it works fine at your end? If so, how should we reproduce the problem here?
Please notice that included with the binary installation you'll find complete TeeNew project.
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 |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 7
- Joined: Tue Sep 07, 2004 4:00 am
- Contact:
-
- Newbie
- Posts: 7
- Joined: Tue Sep 07, 2004 4:00 am
- Contact:
Hello,
meanwhile i can edit your unit. I have to open the unit Base_DBChart first. And if i set autobarsize to true and multibar to mbStacked there is the same error. If i zoom into the chart the first bar is ok but the second bar on top of the first bar is smaller then the first. May be its better so send you a picture of the chart? How can i dot that?
Your sincerely
Willi Ebert
meanwhile i can edit your unit. I have to open the unit Base_DBChart first. And if i set autobarsize to true and multibar to mbStacked there is the same error. If i zoom into the chart the first bar is ok but the second bar on top of the first bar is smaller then the first. May be its better so send you a picture of the chart? How can i dot that?
Your sincerely
Willi Ebert
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello Willi,
Thanks for the information. Finally we could reproduce the problem here and that's because just the first series in the chart has AutoBarSize set to true. Series created by CrossTab source don't have this property so you should do something like the code below after activating CrossTab source.
Thanks for the information. Finally we could reproduce the problem here and that's because just the first series in the chart has AutoBarSize set to true. Series created by CrossTab source don't have this property so you should do something like the code below after activating CrossTab source.
Code: Select all
for i:=0 to DBChart1.SeriesCount-1 do
begin
if DBChart1[i] is TBarSeries then
(DBChart1[i] as TBarSeries).AutoBarSize:=true;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 7
- Joined: Tue Sep 07, 2004 4:00 am
- Contact: