TSVGExportFormat
Hierarchy Properties Methods
Unit
TeeSVGCanvas
Description
Use TSVGExportFormat to create and export the TeeChart in SVG format.
The class returns default export characteristics to be used when exporting a SVG image of the Chart.
SVG means Scalable Vector Graphics.
For more information visit: http://www.w3.org/Graphics/SVG
Example of use
Uses TeeSVGCanvas;
procedure TForm1.BitBtn1Click(Sender: TObject);
var tmp:TSVGExportFormat;
begin
tmp:= TSVGExportFormat.Create;
try
tmp.Panel:=Chart1;
tmp.SaveToFile('c:\tempCharts\Chart1.' + tmp.FileExtension);
finally
tmp.Free;
end;
end;
Easier way to do the same as above:
TeeSaveToSVGFile(Chart1,'c:\tempCharts\Chart1.svg');