Printing TeeChart
Printing TeeChart
I have seen an example on this and lots on the web but cant seem to get printing working. I want to make a button in Delphi 2005 where I can display it like in TeeChart edit mode in the printing tab. How do I do that? Please help.
Hi.
If you want to show the tChart print preview form, then you can do this by:
I)
a) dropping a TChartPreviewer component on the form
b) connecting the TChartPreviewer component with chart you want to preview. This is done by setting TChartPreviewer.Chart property:
c) Invoking the preview form with the
call.
OR by
II)
a) adding TeePrevi unit to the Uses section
b) invoking the preview form with the
If you want to show the tChart print preview form, then you can do this by:
I)
a) dropping a TChartPreviewer component on the form
b) connecting the TChartPreviewer component with chart you want to preview. This is done by setting TChartPreviewer.Chart property:
Code: Select all
chartPreviewer1.Chart := Chart1;
Code: Select all
chartPreviewer1.Execute;
OR by
II)
a) adding TeePrevi unit to the Uses section
b) invoking the preview form with the
Code: Select all
Uses ..., TeePrevi;
TeePreview(Form1,Chart1);
Marjan Slatinek,
http://www.steema.com
http://www.steema.com