TeeChart on iOS

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

TeeChart on iOS

Post by X-Ray » Mon Mar 12, 2012 12:14 pm

Hi,

I am trying to load and compile a project (FireMonkey HD iOS application created in Delphi XE2 update 4 and exported to Xcode)
that inclucdes a Chart component in Xcode/FPC.
But I am running into trouble already loading the project (Workspace Integrity, Couldn't load project...) in XCode.

How do I include the TeeChart sources in the Xcode project, do I need to add all FMI sources to my project (.DPR) file?
or is there another way to tell XCode/FPC where these sources are?

Is there any description how that works or even better an example Xcode project using TeeChart?

best regards,

X-Ray

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

Re: TeeChart on iOS

Post by Yeray » Wed Mar 14, 2012 11:06 am

Hi X-Ray,

You can find an example here
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

X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

Re: TeeChart on iOS

Post by X-Ray » Wed Mar 14, 2012 2:34 pm

Hello Yeray,

I tried that example but there are obviously major drawing problems on iOS, especially
with the text on the axes. Just have a look at the attached screen shot from the simulator.
iOS Simulator Screen shot Mar 14, 2012 3.20.32 PM.png
iOS Simulator Screen shot Mar 14, 2012 3.20.32 PM.png (42.57 KiB) Viewed 14257 times
I am using Xcode 4.2 on Lion, together with the FPC(2.6.0)/Firemonkey install from XE2 update 4.
There are lots of similar problems in all charts.

Is there any fix for that?
Otherwise this version is pretty useless.

best regards,

X-Ray

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

Re: TeeChart on iOS

Post by Narcís » Wed Mar 14, 2012 2:50 pm

Hi X-Ray,

This is probably related to a Delphi bug: http://qc.embarcadero.com/wc/qcmain.aspx?d=103976. The workaround is modifying "/Developer/Embarcadero/fmi/FMX_Types_FPC_Impl.inc" as described in the Quality Central description. Due to 103976 many TRectF methods are failing.
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

X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

Re: TeeChart on iOS

Post by X-Ray » Thu Mar 15, 2012 8:20 am

Hi Narcis,

Thank You!
That fixed all the problems, TeeChart is now working nicely on iOS!

best regards,

X-Ray

Post Reply