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

Message ListMessage List     Post MessagePost Message

  Pie chart drawing problem
Posted by mgampi on Dec-21-2010 19:35
Attachments:
When using a pie chart without exploded sectors the labels in sidebar layout are fine, but as soon as one sector is exploded (by left mouse click event) the label is bad positioned and the label line overlaps the label value.
I'm using CD 5.0.2 with C++.
How can I prevent this?
pie_normal.png
pie_exploded.png

  Re: Pie chart drawing problem
Posted by mgampi on Dec-23-2010 18:00
No answer to this?

  Re: Pie chart drawing problem
Posted by Peter Kwan on Dec-24-2010 00:20
Hi mgampi,

Sorry for my last response. I forgot to answer this question.

The issue is because the labels are too close to the pie. Are you using PieChart.setLabelLayout to specifically configures the labels to be so close to the pie?

You may consider to make your chart wider, and put the labels further away from the chart, so that there are sufficient space for the labels even if one or more sectors are all exploded. If you cannot make the chart wider, you may need to make the pie smaller.

Hope this can help.

Regards
Peter Kwan