problem with x axis time

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

problem with x axis time

Post by weatherdisplay » Wed Nov 16, 2016 8:23 pm

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
Attachments
testgraph.zip
(52.77 KiB) Downloaded 788 times

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

Re: problem with x axis time

Post by Yeray » Fri Nov 18, 2016 9:29 am

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 23662 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 23657 times
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

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Fri Nov 18, 2016 6:37 pm

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
Attachments
graph2.png
graph2.png (9.07 KiB) Viewed 23629 times
graph1.png
graph1.png (10.47 KiB) Viewed 23633 times

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Fri Nov 18, 2016 9:25 pm

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)

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

Re: problem with x axis time

Post by Yeray » Mon Nov 21, 2016 9:01 am

Hello,

Are you using the same TeeChart version in both IDEs?
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

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Mon Nov 21, 2016 10:11 am

yes

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

for what ever reason

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Mon Nov 21, 2016 7:01 pm

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?

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Mon Nov 21, 2016 8:02 pm

I ran the installer again (without uninstalling) and that has fixed the above error
go figure as they say

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Mon Nov 21, 2016 8:13 pm

but now I am back to the original problem again

if its not one thing , its the other

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

Re: problem with x axis time

Post by Yeray » Tue Nov 22, 2016 11:01 am

Hello,

I see the problem is not Seattle/Berlin. It's something in TeeChart that changed in v2016.19 to improve the drawing speed.
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

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Tue Nov 22, 2016 7:27 pm

Hi
that sounds like what the problem is
can you make that an option then?

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

Re: problem with x axis time

Post by Yeray » Mon Nov 28, 2016 8:17 am

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.
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

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Mon Nov 28, 2016 5:16 pm

Hi
yes, that would be good
are you able to email me a link to download and install that?
thanks :)

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Tue Nov 29, 2016 12:40 am

I see I can download that older version from the steema web site client access
doing that now

weatherdisplay
Newbie
Newbie
Posts: 36
Joined: Mon Oct 24, 2016 12:00 am

Re: problem with x axis time

Post by weatherdisplay » Tue Nov 29, 2016 1:43 am

that fixed it :)

Post Reply