Hello,
I have just upgraded to the newest version of TeeChart. Unfortunately this library no longer supports the OnGetMarKText for TchartShapes. This is a very important part of my applications. Is there another way to update the Mark Text on Chartshapes or do I need to go back to a previous library?
Thanks,
Marty
What Happened to OnGetMarkText for TchartShapes?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: What Happened to OnGetMarkText for TchartShapes?
Hi Marty,
Thanks for reporting. I could reproduce that and checked this only occurs at designtime. At runtime you can assign the event like this:
I have also added this defect (TV52014401) as a high priority item in the bug list to be fixed for next releases.
Thanks for reporting. I could reproduce that and checked this only occurs at designtime. At runtime you can assign the event like this:
Code: Select all
procedure TForm4.FormCreate(Sender: TObject);
begin
Series1.OnGetMarkText:=Series2GetMarkText;
end;
procedure TForm4.Series2GetMarkText(Sender: TChartSeries; ValueIndex: Integer;
var MarkText: string);
begin
MarkText:=IntToStr(ValueIndex);
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |
Re: What Happened to OnGetMarkText for TchartShapes?
There seems to be several show stopper problems in this version. I am also getting this message:
Error reading Trace->Marks.Callout.Brush.Color Property Callout does not exist.
I also see the same problem in some of the Data fields for the TchartShape control.
Marty
Error reading Trace->Marks.Callout.Brush.Color Property Callout does not exist.
I also see the same problem in some of the Data fields for the TchartShape control.
Marty
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: What Happened to OnGetMarkText for TchartShapes?
Hi Marty,
In that case, it's most likely that your IDE is still pointing to old TeeChart references. You should update them as discussed here.
In that case, it's most likely that your IDE is still pointing to old TeeChart references. You should update them as discussed here.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |
Re: What Happened to OnGetMarkText for TchartShapes?
Thanks, that was my dumb mistake. I had read that post but didn't address the runtime libraries.