meta data for this page
How to manage label positioning in N4V for Webi silhouettes
Anonymised summary of support ticket #158598 (2026-09-08)
Symptom
Labels for silhouettes (zones) in N4V for Webi may not display optimally: either overlapping, misaligned, or positioned outside the zone. Zooming in sometimes corrects the issue temporarily.
Environment
N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence). Affected versions may include those where label positioning algorithms were updated.
Resolution
- For zones with complex shapes (concave, triangular, etc.), the default label positioning may place the label outside the zone or overlap with other labels. This is due to the algorithm using the bounding quadrilateral's center for placement.
- To override the automatic positioning, manually adjust the label position in the shape's .js file by adding the properties 'hc-middle-x' and 'hc-middle-y' with values between 0 and 1. These properties force the label to a specific relative position within the zone.
- Example: Adding 'hc-middle-x: 0.5' and 'hc-middle-y: 0.5' centers the label, while values like 'hc-middle-x: 0.3' and 'hc-middle-y: 0.7' position it closer to the bottom-left corner.
Other resolution
Side-by-side display of zone and measure labels is not natively supported in N4V for Webi without custom development.