Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1965

Summary: Exporting a 2D pie series to svg draws wrong polygons
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 22.170619   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16789
Chart Series: Pie Delphi / C++ Builder RAD IDE Version:
Attachments: screenshot

Description yeray alonso 2018-01-11 07:08:11 EST
Created attachment 804 [details]
screenshot

The following simple example gives a messed output with strange polygons being drawn instead of the pie slices:

uses Series, TeeSVGCanvas;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TPieSeries).FillSampleValues;
  Chart1.View3D:=False;

  TeeSaveToSVGFile(Chart1, 'E:\tmp\exports\pie.svg', 500, 500);
end;

See attached a screenshot of the svg generated.