How the BCB Chart drawing read data export to file. TXT file, etc...
I want to see this data file to MATLAB another drawing
CodePudding user response:
void __fastcall TForm3: : Button2Click (TObject * Sender)
{
TStringList * sl=new TStringList ();
for (int i=0; I & lt; This - & gt; Chart1 - & gt; The Series [0] - & gt; YValues - & gt; The Count. I++)
{
Sl - & gt; Add (this - & gt; Chart1 - & gt; The Series [0] - & gt; YValues - & gt; The Items [I]);
}
Sl - & gt; SaveToFile (" test. TXT ");
The delete sl;
Sl=NULL;
}
CodePudding user response: