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 - Images with transparency not drawn correctly in Pointers when not Orthogonal chart
Summary: Images with transparency not drawn correctly in Pointers when not Orthogonal ...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 33.210915
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-05 15:53 EDT by yeray alonso
Modified: 2021-11-05 15:55 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
image to load in pointers (349 bytes, image/png)
2021-11-05 15:53 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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;