meta data for this page
Adjusting label positioning in triangular or concave shapes in N4V for Webi
Anonymised summary of support ticket #155228 (2024-06-26)
Symptom
Labels in triangular or concave shapes (e.g., panel silhouettes) are displayed at the center of the bounding quadrilateral instead of the actual shape, causing overlapping labels or misplacement.
Environment
N4V FOR WEBI (Need4Viz extensions for SAP BusinessObjects Web Intelligence), versions prior to 2024.2.0
Resolution
- Upgrade to N4V FOR WEBI version 2024.2.0 or later to benefit from improved label positioning logic that accounts for the actual shape geometry.
- For custom shapes where the automatic positioning is not optimal, manually adjust the label position in the shape's JavaScript file by adding the properties 'hc-middle-x' and 'hc-middle-y' with values between 0 and 1 to force the desired label placement.