Skip to Content
0
Former Member
Jun 07, 2017 at 03:37 AM

Consistent bar width across two 100% Stacked Bar Charts

114 Views

Hi,

Design Studio 1.6 sp3

I have two ‘100% Stacked Bar Chart’ Infocharts in the same application, with exactly the same layout width.I want to the bar widths across the two Infocharts to be exactly the same, however they are not.The bar widths are not the same across the two Infocharts, as the maximum length of the category axis labels differs between the two charts and the bar widths adjust according to this maximum length.

I’d appreciate suggestions on how to configure the Infocharts to have the same bar widths, catering for dynamic category axis labels.

My thoughts are to get the maximum category axis label width across the two Infocharts.However:

1. Is it possible to get the length of field values? If so, how?

2. Is it possible to set the width of the category axis label?I did find this suggestion in Ideas Place, https://ideas.sap.com/D28320, which suggests the answer to my question is “no”.

Thanks in advance.

Greg