Thanks, I found that I wasn't able to use
Code: Select all
SaveChartToFile (SDIAppForm->Chart4, "temppomiar.tee", False);
LoadChartFromFile(SDIAppForm->Chart4 , "temppomiar.tee");
because of missing
Now I have other problem. Program save the file "temppomiar.tee" easly but loading this file to chart give me message
Error reading TLineSeries.CustomVertAxis: Argument out of range
This is how i build the series. Chart has 1 additional axis.
Code: Select all
SDIAppForm->Chart4->AddSeries (new TLineSeries (SDIAppForm->Chart4));
SDIAppForm->Chart4->AddSeries (new TLineSeries (SDIAppForm->Chart4));
SDIAppForm->Chart4->AddSeries (new TLineSeries (SDIAppForm->Chart4));
SDIAppForm->Chart4->AddSeries (new TLineSeries (SDIAppForm->Chart4));
timeAxisChart4=new TChartAxis(SDIAppForm->Chart4);
timeAxisChart4->PositionPercent=110;
SDIAppForm->Chart4->Series[APMChart4Series]->CustomVertAxis=timeAxisChart4;
Could you help me with this problem?