Black background on charts in ReportBuilder

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
RACLTD
Newbie
Newbie
Posts: 1
Joined: Fri Nov 15, 2002 12:00 am
Location: Edmonton
Contact:

Black background on charts in ReportBuilder

Post by RACLTD » Fri Jun 17, 2005 11:10 pm

Hi there,
If I add a TChart to a Delphi form and set the style to "Facts", the chart will have blue bars with a gray and white horizontally lined background. But, if I add the exact same chart to a report (via ReportBuilder) the chart has a solid black background, which makes the chart unreadable.

NOTE:
I am using TChart Version 7.04 and ReportBuilder version 9.02.

Thank-you,
David Reid

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

Post by Narcís » Mon Jun 20, 2005 7:39 am

Hi David,

Yes, this is a known problem with Facts theme combined with some other elements. The problem is with gridbandtool transparency. After using Facts theme the transparency is not reset to 0. Some workarounds could be:

- Setting transparency to 0 programmatically.
- In "Facts" case : set GridBandTool (both stripes) transparency to 0. Example:

Code: Select all

Band1.Color = clSilver
Band2.Color = clWhite
This can be done at design time, via the chart editor, at runtime, programmatically or even at Facts theme level, at ApplyTheme method call.

This bug is already listed at our defect list to be fixed for future releases.
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

Post Reply