Series Groups Don't Save
Posted: Thu Apr 01, 2004 3:17 am
I am working with TChart 7 on Delphi 6. It seems like the Series Group information is not saved when the chart is saved to a stream. Any suggestions?
Steema Software - Customer Support Forums
http://teechart.com/support/
Code: Select all
Uses TeeStore, TeeEditPro;
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(5);
Series2.FillSampleValues(5);
Series3.FillSampleValues(5);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
SaveChartToFile(Chart1,'D:\temp\chart.tee',True,False);
LoadChartFromFile(TCustomChart(Chart1),'d:\temp\chart.tee');
Chart1.Repaint;
end;