ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Gap/perimeter around sectors of a piechart/donut
Posted by jerome on Jun-01-2012 03:34
Attachments:
Hi Peter,
Is there a way to create a gap or perimeter around sectors of a piechart/donut as shown in
the image below?

Thanks.
sector_separation.png

  Re: Gap/perimeter around sectors of a piechart/donut
Posted by Peter Kwan on Jun-02-2012 08:55
Hi jerome,

You may use PieChart.setLineColor or PieChart.setSectorStyle to control a border around the slices. For example:

$c->setLineColor(0xffffff);

or

#A 2-pixel thick border
$c->setSectorStyle($perlchartdir::DefaultShading, 0xffffff, 2);

Hope this can help.

Regards
Peter Kwan