Feature #1139
closedWPieChart lacks a feature to avoid rendering of labels if the percentage is too small
80%
Description
Within a pie chart label texts are rendered even if there is no space left to render a label text. Therefore the label text is overwritten by another label text. This only occurs on segments which are really small.
Therefore I added a new member called avoidLabelRendering_ which stores a percentage value which will avoid label rendering if a segment is below that percentage. See attachments.
I would like to see this patch really soon integrated into Wt, since we really need this feature in our upcoming web application.
Regards,
Stefan
Files
Updated by Koen Deforche almost 13 years ago
- Status changed from New to InProgress
- Assignee set to Pieter Libin
- Target version set to 3.2.1
Hey Stefan, Pieter,
I think this is indeed a simple and robust solution.
Pieter can you review the patch and apply ?
Regards,
koen
Updated by Pieter Libin almost 13 years ago
- Status changed from InProgress to Resolved
I applied your patch to our git repository,
I changed the documentation about the default value (said it was 5.0 while it was 0.0 in the code).