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?
Problem with C++ Builder Tokyo and android
Re: Problem with C++ Builder Tokyo and android
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:
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with C++ Builder Tokyo and android
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?
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?
Re: Problem with C++ Builder Tokyo and android
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
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |