Skip to Content

Consistent bar width across two 100% Stacked Bar Charts

Jun 07, 2017 at 03:37 AM


avatar image
Former Member


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,, which suggests the answer to my question is “no”.

Thanks in advance.


10 |10000 characters needed characters left characters exceeded

Hi Greg - I don't have a good easy answer, but something to try - perhaps seeing if Venu's CSS inspect element described here in this thread may help give you some ideas. I am not sure if it will work; sounds like it would work with the old chart component but I am not sure about the Info Charts.

* Please Login or Register to Answer, Follow or Comment.

0 Answers