Bar chart in reportbuilder print - masks behave weird

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
UNIFORM-Agri
Newbie
Newbie
Posts: 7
Joined: Wed Sep 07, 2022 12:00 am

Bar chart in reportbuilder print - masks behave weird

Post by UNIFORM-Agri » Tue Jan 31, 2023 10:15 am

After migrating from D10.2.3 to D11.2.1 and updating Steema (v36.220929)/Reportbuilder(21.05), we experience some strange behaviour in the prints of the TCharts.

All bars have the same values, but when counting from right to left, from the 7th bar, the mask is displaying wrong texts.
Code sample project can be found at http://bugs.steema.com/show_bug.cgi?id=2580
marks sample.PNG
marks sample.PNG (63.77 KiB) Viewed 7730 times
In our production environment (no code available) some masks are even drawn with a static position in their shape?
Marks production.PNG
Marks production.PNG (67.58 KiB) Viewed 7730 times

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

Re: Bar chart in reportbuilder print - masks behave weird

Post by Yeray » Thu Feb 02, 2023 2:46 pm

Hello,

In the .dfm of your project I can see the TBarSeries have Marks.Items defined.
Remove them and it should be fine.
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

UNIFORM-Agri
Newbie
Newbie
Posts: 7
Joined: Wed Sep 07, 2022 12:00 am

Re: Bar chart in reportbuilder print - masks behave weird

Post by UNIFORM-Agri » Thu Feb 02, 2023 8:04 pm

Ouch.. that one was my bad :-)

After removing the static marks, the values are good.
Altough the marks (yellow frame) are still drawn with a strange bottom-left position. Altough not in my demo-project, but still is on the production environment. Work-around for me is to make the marks transparent so arent drawn anymore.

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

Re: Bar chart in reportbuilder print - masks behave weird

Post by Yeray » Fri Feb 03, 2023 7:30 am

Hello,
UNIFORM-Agri wrote:
Thu Feb 02, 2023 8:04 pm
Ouch.. that one was my bad :-)

After removing the static marks, the values are good.
Great!
UNIFORM-Agri wrote:
Thu Feb 02, 2023 8:04 pm
Altough the marks (yellow frame) are still drawn with a strange bottom-left position. Altough not in my demo-project, but still is on the production environment. Work-around for me is to make the marks transparent so arent drawn anymore.
I haven't been able to reproduce that one.
If you find how to reproduce it in a simple example project we can run as-is, don't hesitate to share it with us.
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

UNIFORM-Agri
Newbie
Newbie
Posts: 7
Joined: Wed Sep 07, 2022 12:00 am

Re: Bar chart in reportbuilder print - masks behave weird

Post by UNIFORM-Agri » Fri Feb 03, 2023 12:44 pm

Thanks for your effort!

Post Reply