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 - TSeriesPointer.DrawPointer psSmallDot doesn't work with FMX
Summary: TSeriesPointer.DrawPointer psSmallDot doesn't work with FMX
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 38.230607
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 08:45 EDT by yeray alonso
Modified: 2023-10-18 08:45 EDT (History)
1 user (show)

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


Attachments

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