Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2038

Summary: Series Clear method doesn't work in Android
Product: FireMonkey TeeChart Reporter: sandra pazos <sandra>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: yeray
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2018-06-06 06:53:59 EDT
Series Clear method works fine in Windows, both for Delphi and C++. 

It also works fine in Android for Delphi, but not in Android for C++. The code below reproduce the problem exactly: 

void __fastcall TForm1::FormCreate(TObject *Sender)
{
	Chart1->View3D = false;
	Series1 = new TLineSeries(Chart1);
	Chart1->AddSeries(Series1);
	Series1->FillSampleValues(10);
	Series1->Clear();
}

A workaround for this is use RemoveSeries
Comment 1 yeray alonso 2019-03-25 10:40:42 EDT
Adding the unit FMXTee.Engine.pas to the project makes the IDE to recompile it and the problem disappears.

These are good news for the source code customers, but it impedes us to debug and find the cause of the problem for those who don't have the sources.