Page 1 of 1

TPieSeries and TDonutSeries can't have no border

Posted: Thu Jun 26, 2014 7:51 am
by 16567885
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 7144 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?

Re: TPieSeries and TDonutSeries can't have no border

Posted: Thu Jun 26, 2014 12:16 pm
by yeray
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

Re: TPieSeries and TDonutSeries can't have no border

Posted: Thu Jun 26, 2014 12:25 pm
by 16567885
Excellent. Thank you.