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 2068

Summary: Access violation after loading a chart
Product: VCL TeeChart Reporter: info <info>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: sandra
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Executable file with source code (Delphi 7), which demonstrates the access violation

Description info@redusoft.de 2018-08-03 08:39:53 EDT
Created attachment 842 [details]
Executable file with source code (Delphi 7), which demonstrates the access violation

Dear Sirs,

an access violation appears if a loaded Chart must be edited.

By a click on Button 'Save' (Button1) Chart1 is saved.
After a click on Button 'Load' (Button2) the Chart1 will be loaded.
This works. 

But if the loaded Chart1 thereupon will be edited (by a click on Button 'EditSeries' (Button3) an 

access violation appears. Could you please give me an answer what's wrong there ?

Only the following code is implemented:

procedure TForm1.Button1Click(Sender: TObject);
begin
 SaveChartToFile( TCustomChart( Chart1 ), 'd:\mychart1.tee',true,true);
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
 LoadChartFromFile( TCustomChart( Chart1 ), 'd:\mychart1.tee');
end;

procedure TForm1.Button3Click(Sender: TObject);
begin
 EditSeries(Self,Series1); // -> results in an access violation if a 
                           // saved chart is loaded.
end;

In attachmaent you can find the exe file and the source code of the 
application which doesn't work correctly. Please start the file project1.exe and click on Button 

'Save' to save the chart. Then click on Button 'Load' to load the chart. After a click on Button 

'EditSeries' the error (access violation) occurs.


Best regards 

Ralf Riescher
Comment 1 sandra pazos 2018-09-10 11:12:30 EDT

*** This bug has been marked as a duplicate of bug 2067 ***