
I´m using Delphi XE7 and Teechart (sources) 2016.19.161025.
Does anyone know how to solve this problem?
I registered this issue in Steema's support (#1757).
See sample project and print screen.
Code: Select all
protected
//...
Function CalcLegendIndex(LegendIndex:Integer):Integer; override;
//...
Function TPieSeries.CalcLegendIndex(LegendIndex:Integer):Integer;
begin
result:=LegendToValueIndex(LegendIndex);
end;
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
I'm glad to hear it works fine now!NatSam wrote: Now I removed the Teechart from Delphi and did a new installation and this time the caption was mounted correctly.
It works fine without this modification for me if I add the one in Series.pas. Could you please confirm it so we can put the correct fix in the production version?NatSam wrote:In the VCLTee.Teeengine.pas:
Change line 3577 from "ValueIndex:=CalcLegendIndex(LegendIndex);" to "ValueIndex:=LegendToValueIndex(LegendIndex);"
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Good! Thanks for the feedback.NatSam wrote:I did reinstall Teechart and applied only the patch in the Series.pas and it was enough to solve the problem.
Right. Feel free to add your mail to the CC list if the ticket to be automatically notified when an update arrives.NatSam wrote:To be "perfect" you only have to solve the #1760 issue.
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |