Page 1 of 3

problem with x axis time

Posted: Wed Nov 16, 2016 8:23 pm
by 16479480
Hi
using Delphi Berlin
I have found that when the time on the x axis has lots of nulls between new time labels
nothing is plotted for the time in the end
(i,e instead of repeating the same number, I have blanks in between)

the problem occurs when
this worked OK in Seattle

i have included a simple project which plots OK in seattle but not in berlin
thanks
Brian

Re: problem with x axis time

Posted: Fri Nov 18, 2016 9:29 am
by yeray
Hello,

I'm not sure to understand the problem here.
I'm getting the same result in both RAD 10 Seattle and in RAD 10.1 Berlin.
After one click on the button:
Project51_2016-11-18_10-28-34.png
Project51_2016-11-18_10-28-34.png (10.95 KiB) Viewed 26125 times
After 2 clicks on the button:
Project51_2016-11-18_10-28-54.png
Project51_2016-11-18_10-28-54.png (12.87 KiB) Viewed 26120 times

Re: problem with x axis time

Posted: Fri Nov 18, 2016 6:37 pm
by 16479480
I didnt mean for you to do 2 clicks
(as the data is not cleared between clicks)

i have attached 2 screen shots, after clicking on button1 once
first is when using seattle, second using berlin

with berlin there is no time stamps on the x axis as there is with seattle (same code)
that is the problem

not sure how I could make it more clear

Re: problem with x axis time

Posted: Fri Nov 18, 2016 9:25 pm
by 16479480
also just to add, that the behaviour as shown with seattle (i,e the axis labels being drawn) has always been the behaviour with eveyr Delphi version for me (for the data in the memo plotted)
but Berlin and the version of tchart pro I updated to for Berlin,changed that behaviour (as you can see in the screen shot)

Re: problem with x axis time

Posted: Mon Nov 21, 2016 9:01 am
by yeray
Hello,

Are you using the same TeeChart version in both IDEs?

Re: problem with x axis time

Posted: Mon Nov 21, 2016 10:11 am
by 16479480
yes

I have now upgraded to Berlin update 2
and the problem has resolved itself

for what ever reason

Re: problem with x axis time

Posted: Mon Nov 21, 2016 7:01 pm
by 16479480
but now I get the error
[dcc32 Fatal Error] Unit53.pas(9): F2051 Unit VCLTee.TeeTools was compiled with a different version of VCLTee.Series.TCustomSeries
when I add a tool (tcursor) to the Tchart


my library paths are correct in Berlin and I had removed the lite version from the package list

I seem to recall this happening before to a version of Delphi
I might have to un install and then re install tchart pro for Berlin?

Re: problem with x axis time

Posted: Mon Nov 21, 2016 8:02 pm
by 16479480
I ran the installer again (without uninstalling) and that has fixed the above error
go figure as they say

Re: problem with x axis time

Posted: Mon Nov 21, 2016 8:13 pm
by 16479480
but now I am back to the original problem again

if its not one thing , its the other

Re: problem with x axis time

Posted: Tue Nov 22, 2016 11:01 am
by yeray
Hello,

I see the problem is not Seattle/Berlin. It's something in TeeChart that changed in v2016.19 to improve the drawing speed.

Re: problem with x axis time

Posted: Tue Nov 22, 2016 7:27 pm
by 16479480
Hi
that sounds like what the problem is
can you make that an option then?

Re: problem with x axis time

Posted: Mon Nov 28, 2016 8:17 am
by yeray
Hello,

The easiest option would be to use a TeeChart version prior to v2016.19. For Berlin, this means using v2016.18, if it fits your needs.

Re: problem with x axis time

Posted: Mon Nov 28, 2016 5:16 pm
by 16479480
Hi
yes, that would be good
are you able to email me a link to download and install that?
thanks :)

Re: problem with x axis time

Posted: Tue Nov 29, 2016 12:40 am
by 16479480
I see I can download that older version from the steema web site client access
doing that now

Re: problem with x axis time

Posted: Tue Nov 29, 2016 1:43 am
by 16479480
that fixed it :)