wangyao5 / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

PieChart: Labels out of bounds #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a 'GraphicalView' with a PieChart in it.
2. Place this View within a LinearLayout (or ViewFlipper etc.)

What is the expected output? What do you see instead?

The labels of that PieChart are out of bounds (see Screenshot).

What version of the product binary library are you using?

0.6

Original issue reported on code.google.com by Till.H89@gmail.com on 20 Mar 2011 at 7:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 14 May 2011 at 10:25

GoogleCodeExporter commented 9 years ago
You can tweak these by using the following APIs:
renderer.setLabelsTextSize();
renderer.setScale();

Original comment by dandrome...@gmail.com on 14 May 2011 at 11:26

GoogleCodeExporter commented 9 years ago
Hi, thanks but i don't think this solves the problem, cause I don't know how 
long the labels are and how they are placed. So I can't adjust the 
scale/textsize dynamically.

Would be better if you can cut the text if it's to long with [...] or sth. or 
place it somewhere else.

Thanks

Original comment by Till.H89@gmail.com on 15 May 2011 at 11:47

GoogleCodeExporter commented 9 years ago
OK, I will find a way to fix that.

Original comment by dandrome...@gmail.com on 15 May 2011 at 3:01

GoogleCodeExporter commented 9 years ago
Fixed in SVN rev. r189.

Original comment by dandrome...@gmail.com on 19 May 2011 at 7:23