Page 1 of 1

Black background on charts in ReportBuilder

Posted: Fri Jun 17, 2005 11:10 pm
by 4214370
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

Posted: Mon Jun 20, 2005 7:39 am
by narcis
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.