Printing a chart
Posted: Fri Aug 31, 2007 6:05 am
Hello,
using BDS2006, TeeChartPro 7.12 (7.08), VCL.NET application.
I want to print out a chart. I tried several methods (see below).
The problem is, that for example the dashed or dotted lines are printed
as solid lines. What can I do?
Code:
Chart.PrintPartialCanvas(Printer.Canvas,Eck);
or:
rct:=Trect.Create(0,0,800,600);
Meta:=chart.TeeCreateMetaFile(true, rct);
Printer.Canvas.StretchDraw(Eck,Meta);
//Printer.Canvas.Draw(50,50,Meta);
// with Draw, the chart is sprinted correct, but too small
Meta.Free;
Thanks and best regards
Reinhard
using BDS2006, TeeChartPro 7.12 (7.08), VCL.NET application.
I want to print out a chart. I tried several methods (see below).
The problem is, that for example the dashed or dotted lines are printed
as solid lines. What can I do?
Code:
Chart.PrintPartialCanvas(Printer.Canvas,Eck);
or:
rct:=Trect.Create(0,0,800,600);
Meta:=chart.TeeCreateMetaFile(true, rct);
Printer.Canvas.StretchDraw(Eck,Meta);
//Printer.Canvas.Draw(50,50,Meta);
// with Draw, the chart is sprinted correct, but too small
Meta.Free;
Thanks and best regards
Reinhard