Frequently Asked Question
How to use a SVG with multi paths in a pictural stack or pictural gauge
Dernière mise à jour il y a un an
Symptom
- Use a SVG picture composed by multiple paths in a Need4Viz pictural element
Environment
- SAP BusinessObjects Business Intelligence Platform : all 4.2 Webi versions
- Need4Viz : all versions
Resolution
By design, pictural elements don't work with SVG composed by multiple paths. Only single path can be used in pictural stack & gauge.
The workaround is to merge the paths into one and use it your pictural.
To merge the paths, you can use a tool like Inkscape and follow the steps :
- Open your SVG file with Ctrl + O
- Select all paths with Ctrl + A
- Combine all paths with Ctrl + K
- Save the new file with Ctrl + S
One it's done, open the file in a text editor such as Notepad++ , select the content of the single path and use it in your pictural stack or gauge.