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 2481

Summary: Images with transparency not drawn correctly in Pointers when not Orthogonal chart
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: CanvasAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement CC: yeray
Priority: ---    
Version: 33.210915   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: image to load in pointers

Description yeray alonso 2021-11-05 15:53:22 EDT
Created attachment 992 [details]
image to load in pointers

Using the following code, the images in the pointers are green with a black background instead of being red with a transparent background.

uses TeePng, TeePoin3;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Aspect.Orthogonal:=False;
  Chart1.Chart3DPercent:=100;
  Chart1.Aspect.Zoom:=70;
  Chart1.Legend.Hide;
  Chart1.Walls.Hide;

  with TPoint3DSeries(Chart1.AddSeries(TPoint3DSeries)) do
  begin
    FillSampleValues(5);
    Pointer.Size:=16;
    Pointer.Style:=psVisual;
    Pointer.Picture.LoadFromFile('F:\Downloads\Sensor.png');
  end;
end;