Tpointseries and transparency

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Friis
Newbie
Newbie
Posts: 11
Joined: Mon Apr 11, 2011 12:00 am

Tpointseries and transparency

Post by Friis » Tue Dec 20, 2011 7:47 am

Hi,

I'm using the TPOINTSERIES to visualise when an error has occured during production.

In the attached file you'll see some red cirkels indicating an error.

How can I make the red pen non-transparent but the white interior completely transparent ??

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

Re: Tpointseries and transparency

Post by Yeray » Tue Dec 20, 2011 3:55 pm

Hi Friis,

I think you are looking for setting Pointer.Brush.Style to bsClear. Here it is an example:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;

  Series1.FillSampleValues(10);
  with Series1.Pointer do
  begin
    Style:=psCircle;
    HorizSize:=8;
    VertSize:=8;
    Brush.Style:=bsClear;
    Pen.Color:=clPurple;
    Pen.Width:=2;
  end;
end;
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