title: Delphi TeeChart - print preview and save dialog
body: <p>I'm using the built in TeeChart in Delphi XE for graphs.</p>
  
  <p>When I just put a graph on a form, I have all these options to export/save or print preview, but those aren't there at runtime.</p>
  
  <p>I want to add a button for a save dialog and a print preview (right now I just have it doing Chart1.Print and Chart1.SaveToBitmapFile)</p>
  
  <p>I googled around and I found this link: <a href="http://www.steema.com/support/faq/NewVCL/FAQ_VCL_DIALOGS.htm" rel="nofollow">http://www.steema.com/support/faq/NewVCL/FAQ_VCL_DIALOGS.htm</a></p>
  
  <p>So I added EditChar to Uses and added the line
      EditChart(Self,Chart1 );</p>
  
  <p>but when I try to compile, it gives me errors:</p>
  
  <pre><code>[DCC Error] E1026 File not found: 'TeeBackImage.DFM'
  [DCC Error] E1026 File not found: 'TeeEmbossEditor.DFM'
  [DCC Error] E1026 File not found: 'TeeMargins.DFM'
  [DCC Error] E1026 File not found: 'TeeMouseCursor.DFM'
  [DCC Error] E1026 File not found: 'TeeStringsEditor.DFM'
  </code></pre>
  
  <p>Also I've added Uses TeePrevi, but it says ChartPreview is an undeclared identifier</p>
  
  <p>Does anyone know what's going on? Creating a chart and printing/saving works fine, and the errors seem to happen when I add Uses EditChar</p>
  
  <p>Thanks</p>