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 2638

Summary: TSeriesPointer.DrawPointer psSmallDot doesn't work with FMX
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: CanvasAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: yeray
Priority: ---    
Version: 38.230607   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://www.steema.com/support/viewtopic.php?f=17&t=18041
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2023-10-18 08:45:20 EDT
As the customer indicates, in `TSeriesPointer.DrawPointer`, when using  `psSmallDot`, we call `Pixels[PX,PY]`, but it doesn't draw any point in the chart.

Find below a simple example to reproduce the problem:

uses Chart, Engine, Series;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1:=TChart.Create(Self);

  with Chart1 do
  begin
    Parent:=Self;
    Align:=TAlignLayout.Client;
    Color:=TAlphaColors.White;
    Gradient.Visible:=False;
    Walls.Back.Color:=TAlphaColors.White;
    Walls.Back.Gradient.Visible:=False;
    Legend.Hide;
    View3D:=False;
  end;

  with TPointSeries(Chart1.AddSeries(TPointSeries)) do
  begin
    Pointer.Style:=psSmallDot;
    FillSampleValues;
  end;

  //Chart1.Canvas.UseBuffer:=True; // doesn't work either
end;