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 - Series Clear method doesn't work in Android
Summary: Series Clear method doesn't work in Android
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-06 06:53 EDT by sandra pazos
Modified: 2019-03-25 10:40 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.