How to use a custom SVG image in a pictural gauge in N4V for Webi

Anonymised summary of support ticket #312268 (2021-08-23)

Symptom

The pictural gauge component in N4V for Webi does not display a custom SVG image correctly. The issue may be related to the SVG file format or the path configuration.

Environment

N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), pictural gauge component, SVG images.

Resolution

  1. Ensure the custom SVG image is a single path (only one SVG path is supported in the component).
  2. Use a free tool like Inkscape to merge all SVG paths into a single path.
  3. Copy and paste the merged SVG path into the pictural gauge component.
  4. Place the SVG file in the appropriate folder (e.g., N4VCustomElements\res\images).
  5. In the pictural gauge settings, use the correct path format: 'filename.svg#shape-id' (replace 'filename.svg' with your SVG file name and 'shape-id' with the relevant shape identifier).

Other resolution

If the issue persists, verify that the SVG file is compatible with the component and does not contain unsupported elements or complex structures.