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 2253 - TContourSeries doesn't fire OnGetMarkText
Summary: TContourSeries doesn't fire OnGetMarkText
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 27.190530
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-11 08:02 EDT by yeray alonso
Modified: 2019-10-15 07:17 EDT (History)
0 users

See Also:
Chart Series: Contour
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 2019-10-11 08:02:12 EDT
In this simple example, the GetMarkText event isn't fired.

uses TeeSurfa;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;
  Chart1.Legend.Hide;

  with TContourSeries(Chart1.AddSeries(TContourSeries)) do
  begin
    FillSampleValues;
    Marks.Show;
    OnGetMarkText:=GetMarkText;
  end;
end;

procedure TForm1.GetMarkText(Sender: TChartSeries;
  ValueIndex: Integer; var MarkText: string);
begin
  MarkText := MarkText + ' %';
end;