Skip to Content
0
Former Member
Oct 24, 2016 at 01:25 AM

padding to SVG text data display value in sstacked bar chart

275 Views

SAP BusinessObjects Design Studio

Release 1.6 SP1 Patch 2 (Version: 16.1.2)

Source: Relational database, thru UNX

Requirement: I have to display a bar chart and also display the measure value of each bar. However this measure is different one from the measure I'm using to plot. To achieve this, I have used a stacked bar chart (with 2 measures) and made the bar-color of the 2nd measure as white (chart-background is also white). Now I have checked "show data labels" in the additional properties -> "Plot area" section. Now since both measure data values are shown, I have made the color of the first measure data display value as transparent. Thus i end up seeing bar for 1st measure and data display label for 2nd measure as per my requirement but I face one last issue. The label of the 2nd measure starts on the bar itself (the first digit of the display measure label overlaps with the graph). Can some one help me in moving the 2nd measure display value to the right (say padding-left: 10px ??). however padding-left doesn;t work on svg-text component and i'm struck there.

Please find the screenshot attached.

I have check SCN before posting this and found lot of helpful posts that helped me solve most of my problems. However there is no post that talks about svg text padding options.

references used before:

https://archive.sap.com/discussions/thread/3965481

https://archive.sap.com/discussions/space/businessobjects-design-studio?page=2

Thanks,

Srikanth

Attachments