Data Table Missing values

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MS715
Newbie
Newbie
Posts: 5
Joined: Fri Mar 13, 2020 12:00 am

Data Table Missing values

Post by MS715 » Fri Nov 20, 2020 3:39 pm

See attached image. The data table only shows the values every fourth bar. There seems to be ample room to draw the value. I have seen that if I reduce the number of points shown, the data table may draw correctly. But even with this sample there is sufficient room to draw the values. Is there some setting I need to adjust?
Attachments
Missing table values.jpg
Missing table values.jpg (188.17 KiB) Viewed 10331 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Data Table Missing values

Post by Yeray » Fri Dec 04, 2020 10:56 am

Hello,

I've been able to reproduce it so I've added it to the public tracker (2389).
And I've already fixed it.

Since you own the sources, you can easily apply the fix without having to wait for the next maintenance release.
At line 628 on TeeDataTableTool.pas, substitute this line:

Code: Select all

      tmpInc:=Trunc(CalcXYIncrement(SizeLabels));
For these:

Code: Select all

      if Horizontal then
         tmpInc:=Trunc(CalcXYIncrement(SizeLabels))
      else
         tmpInc:=Trunc(CalcXYIncrement(Abs(LabelsFont.Height)+Round(0.01*LabelsSeparation)));
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

MS715
Newbie
Newbie
Posts: 5
Joined: Fri Mar 13, 2020 12:00 am

Re: Data Table Missing values

Post by MS715 » Wed Dec 09, 2020 6:56 pm

That's fixed it. Thank you Yeray!

Mike Simmons

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Data Table Missing values

Post by Yeray » Fri Dec 11, 2020 7:34 am

Hello Mike,

Thanks for confirming it!
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply