Page 1 of 1

Data Table Missing values

Posted: Fri Nov 20, 2020 3:39 pm
by 16588310
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?

Re: Data Table Missing values

Posted: Fri Dec 04, 2020 10:56 am
by yeray
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)));

Re: Data Table Missing values

Posted: Wed Dec 09, 2020 6:56 pm
by 16588310
That's fixed it. Thank you Yeray!

Mike Simmons

Re: Data Table Missing values

Posted: Fri Dec 11, 2020 7:34 am
by yeray
Hello Mike,

Thanks for confirming it!