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

Message ListMessage List     Post MessagePost Message

  Pie chart
Posted by Doron on Feb-21-2011 19:08
Hello,

I would like to ask how to display the numbers on a pie chart, instead of the percentage values.

Thanks again,

Doron

  Re: Pie chart
Posted by Peter Kwan on Feb-22-2011 01:47
Hi Doron,

There are several sample code included in ChartDirector that show pie charts with numbers on the labels. For example, see "Exploded Pie Chart".

The API to do this is PieChart.setLabelFormat. For example:

c.setLabelFormat("{label}: {value}");

Hope this can help.

Regards
Peter Kwan