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 - Exporting a 2D pie series to svg draws wrong polygons
Summary: Exporting a 2D pie series to svg draws wrong polygons
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Export (show other bugs)
Version: 22.170619
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-11 07:08 EST by yeray alonso
Modified: 2018-01-12 06:28 EST (History)
0 users

See Also:
Chart Series: Pie
Delphi / C++ Builder RAD IDE Version:


Attachments
screenshot (35.43 KB, image/png)
2018-01-11 07:08 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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.