By pressing a button, a window should appear. enter image description here

it is located in TChart in the General tab.

PrintPreview I found both

uses TeePrevi; ... begin ChartPreview(Self,Chart1); end; 

and how to add export?

  • one
    Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. - Kromster
  • procedure TForm1.Button7Click (Sender: TObject); begin ChartPreview (Self, Chart1); end; // How to connect export procedure TForm1.Button8Click (Sender: TObject); begin // ChartExport (Self, Chart1); end; In the first procedure, I hooked up Print preview, and in the second, I tried to hook up the export by analogy. What to add to uses and to the body of the procedure - Yosya
  • Edit the question - Kromster

1 answer 1

Perhaps you need to add:

 uses teExport; TeeExport(Self,Chart1); 
  • in uses, I added Teexport, and between begin and end. with TTeeExportForm.Create (Self) do try ExportPanel: = Chart1; ShowModal (); finally Free (); end; and everything turned out - Yosya