I seem to be able to save a graph plus data to a file.however, when loading the data back into the chart an exception is raised.
Exception Class EReadError with message'Invalid property value'
Code below is cut from my programme
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, qcm_temperatureVXI, ExtCtrls, Menus,ColorButton,Chart, Series,
TeeEdiSeri,TeeEdit, TeEngine, TeeProcs,Inifiles,TeeStore, TeeLisB,
TeeComma;
procedure Tqcmform.Save3Click(Sender: TObject);
begin
if SaveDialog1.Execute then
SaveChartToFile(Chart1,SaveDialog1.FileName,true);
end;
procedure Tqcmform.Recall2Click(Sender: TObject);
begin
if OpenDialog1.Execute then
LoadChartFromFile(Tcustomchart(chart1),OpenDialog1.FileName);
Any help would be much appreciated
Delphi V7 EReadError with LoadChartFromFile ver5.03
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |