Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 813

Summary: Brush.Style bsClear does not work in GDI
Product: VCL TeeChart Reporter: ASkrobek
Component: CanvasAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: critical CC: sandra
Priority: ---    
Version: 140512   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description ASkrobek 2014-06-25 15:13:58 EDT
The following code draws text with non-transparent background in current version in TChart in GDI mode.

procedure TForm1.Button1Click(Sender: TObject);
begin
   Chart1.Canvas.Font.Brush.Style := bsClear;
   Chart1.Canvas.Font.Color := clRed;
   Chart1.Canvas.TextOut(100, 110, 'Test');
end;

In previous production version of TChart it did work correctly (i.e. the text had transparent background).
Current version of TChart in GDI+ mode seem to render the text with transparent background. We need to use GDI and not GDI+.