filled points despite Brush.Style:=psClear

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
reblaus
Newbie
Newbie
Posts: 1
Joined: Tue Jun 07, 2005 4:00 am

filled points despite Brush.Style:=psClear

Post by reblaus » Thu Feb 28, 2013 4:05 pm

I found series points to be filled despite setting Brush.Style to psClear or calling Brush.Clear. :-(
The bug was fixed in file TeEngine, line 15244, in Procedure TSeriesPointer.DrawPointer removing ACanvas.Brush.Color:=ColorValue, which sets Brush.Style automatically to psSolid :-) :

begin
PXMinus:=PX-tmpHoriz;
PXPlus :=PX+tmpHoriz;
PYMinus:=PY-tmpVert;
PYPlus :=PY+tmpVert;

// ACanvas.Brush.Color:=ColorValue; //cBo20130228

TryDrawShadow(Shadow);
TryDrawShadow(Emboss);
.
.
.

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

Re: filled points despite Brush.Style:=psClear

Post by Yeray » Thu Feb 28, 2013 4:33 pm

Hi,

Right, this is a known bug we've corrected for the next maintenance release.
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

Post Reply