Problem with C++ Builder Tokyo and android

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Savvas
Newbie
Newbie
Posts: 2
Joined: Mon Apr 03, 2017 12:00 am

Problem with C++ Builder Tokyo and android

Post by Savvas » Wed Nov 29, 2017 5:59 am

I am trying to port my FMX application from Berlin to Tokyo (C++), but I have a problem with android version when I try to add values to series at runtime (it produces access violation).
I try to make a small sample and it seems that either this one works correctly in Android (in iOS or windows works fine).
My sample is:
Add a teechart component on a form with one series and try it to fill with data at runtime with Chart1->SeriesList->FillSampleValues(20);
In Windows and iOS it displays chart correctly but not on Android.

Same application in Delphi works fine.
Is it something wrong with my installation or TeeChart or there is a bug in Tokyo?

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

Re: Problem with C++ Builder Tokyo and android

Post by Yeray » Wed Nov 29, 2017 12:59 pm

Hello,

I don't get any Access Violation using the latest TeeChart Pro v2017.22. However, calling FillSampleValues for the whole SeriesList doesn't seem to populate the series in C++Builder for Android.
Instead, this works fine for me:

Code: Select all

  for (int i = 0; i < Chart1->SeriesCount(); i++) {
	Chart1->Series[i]->FillSampleValues(20);
  }
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

Savvas
Newbie
Newbie
Posts: 2
Joined: Mon Apr 03, 2017 12:00 am

Re: Problem with C++ Builder Tokyo and android

Post by Savvas » Wed Nov 29, 2017 2:34 pm

Hello,

I use the same Teechart version
I have access violation when I use Add method eg:
Chart1->Series[0]->Add()
Can you try it to see if it works in your case?

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

Re: Problem with C++ Builder Tokyo and android

Post by Yeray » Wed May 02, 2018 12:12 pm

Hello,

Excuse us for the lack of reply here.
This is just to inform we've added it to the public tracker and found a workaround for it:
http://bugs.teechart.net/show_bug.cgi?id=2032
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