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 - Access violation after loading a chart
Summary: Access violation after loading a chart
Status: RESOLVED DUPLICATE of bug 2067
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 08:39 EDT by info@redusoft.de
Modified: 2018-09-10 11:12 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Executable file with source code (Delphi 7), which demonstrates the access violation (1.07 MB, application/zip)
2018-08-03 08:39 EDT, info@redusoft.de
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***