TPieSeries and TDonutSeries can't have no border

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jens.mertelmeyer
Newbie
Newbie
Posts: 60
Joined: Fri Nov 22, 2013 12:00 am

TPieSeries and TDonutSeries can't have no border

Post by jens.mertelmeyer » Thu Jun 26, 2014 7:51 am

The pie and donut series both provide a "No border" template. However, when painting them with GDI+ and anti-alias (which is the default), they still have visible seams where they'd draw their border. Turning anti-alias off brings back memories from 1995 but removes the gaps.

Please see the following image:
Form1_2014-06-26_09-42-05.png
Black is beautiful
Form1_2014-06-26_09-42-05.png (62.98 KiB) Viewed 6555 times
I've just added some slices with

Code: Select all

procedure TForm1.fillCharts();
const
	numItems: Integer = 12;
var
	itemNum: Integer;
begin
	for itemNum := 0 to Pred(numItems) do begin
		Chart1.SeriesList.First().Add(1.0, EmptyStr, clBlack);
		Chart2.SeriesList.First().Add(1.0, EmptyStr, clBlack);
	end;
end;
and the charts look like this.

Is this intended? Should I file a bug report?

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TPieSeries and TDonutSeries can't have no border

Post by Yeray » Thu Jun 26, 2014 12:16 pm

Hi Jens,

I've been able to reproduce the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=816
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jens.mertelmeyer
Newbie
Newbie
Posts: 60
Joined: Fri Nov 22, 2013 12:00 am

Re: TPieSeries and TDonutSeries can't have no border

Post by jens.mertelmeyer » Thu Jun 26, 2014 12:25 pm

Excellent. Thank you.

Post Reply