Strange Behaviour Pro 2014 on XE5 and Android

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
ming828
Newbie
Newbie
Posts: 2
Joined: Wed Jan 07, 2015 12:00 am

Strange Behaviour Pro 2014 on XE5 and Android

Post by ming828 » Thu Jan 08, 2015 6:58 pm

Hi

Strange Behaviour Pro 2014 on XE5 and Android -

I wrote a small program to test my newly bought Pro 2014 version but the chart can only show one quarter of the screen even I use align client. Even I manually set the width and height, the max size of the chart is only one quarter of the Androd Phone or Tablet screen. I tested it on my Nexus 7 and Android phone, same problem happen.

Is this a bug or I need to set up some parameter to get it done? The Lite version that comes with the XE5 did not have this issue. Please advise

Best Regards
Ming

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Strange Behaviour Pro 2014 on XE5 and Android

Post by Narcís » Fri Jan 09, 2015 11:55 am

Hi Ming,

Does this work fine with other RAD Studio versions? Is a XE5 specific problem? I don't have an XE5 installation at hand now but works fine with XE7 for me here with the latest TeeChart version.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ming828
Newbie
Newbie
Posts: 2
Joined: Wed Jan 07, 2015 12:00 am

Re: Strange Behaviour Pro 2014 on XE5 and Android

Post by ming828 » Mon Jan 12, 2015 6:04 pm

XE7 was ok so probably it's XE5 specific.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Strange Behaviour Pro 2014 on XE5 and Android

Post by Narcís » Tue Jan 13, 2015 8:43 am

Hi Ming,

What about using a TPanel instead of a TChart control? Does this reproduce the problem as well?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

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

Re: Strange Behaviour Pro 2014 on XE5 and Android

Post by Yeray » Wed Jan 14, 2015 9:59 am

Hello,

We found differences in the behaviour when building a simple application with the Android SDK shipped with the IDE and with an external SDK installed on the same machine. The first works fine while the second gives us a blank screen as a result.
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

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

Re: Strange Behaviour Pro 2014 on XE5 and Android

Post by Yeray » Wed Jan 14, 2015 2:17 pm

Hello again,

Some more info about the test we are doing here.
There seems to be some difference between XE5 and XE7 because the same code below gives a correctly aligned chart in XE7 but not in XE5, both using the latest TeeChart version v2014.12 (images generated using the internal sources):

Code: Select all

uses FMXTee.Chart, FMXTee.Constants;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=TAlignLayout.alTop;

  Chart1.Title.Text.Text:=TeeMsg_Version;
end;
TeeChart_2014.14_XE5.png
TeeChart_2014.14_XE5.png (8.43 KiB) Viewed 13951 times
TeeChart_2014.14_XE7.png
TeeChart_2014.14_XE7.png (10.94 KiB) Viewed 13951 times
On the other hand, using the previous TeeChart v2014.11 in XE5, the chart seems to respect the alignment:
TeeChart_2014.11_XE5.png
TeeChart_2014.11_XE5.png (9.63 KiB) Viewed 13956 times
I see you added this to the public tracker (ID 1071). I've just confirmed it and linked to this thread.
In the meanwhile, could you please check if TeeChart v2014.11 fits your requirements?

PS: All the tests have been made with an ARM v7, Android 4.4.2, 480x800 hdpi emulator.
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