Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Changing/fixing bar size

Hi All,

I have requirement to fix bar size over any selection of filters

Default view:

Dynamic_bar_1.JPG

After Filter

Dynamic_bar_2.JPG

Expected output is to get same bar size.

1) By resizing chart dynamically

2) By fixing a bar size

But I am not finding any option to achieve above options.

Thanks

Ravi

2 Replies
marcus_sommer

This is a default-behaviour from the chart and couldn't be directly customized. The only way to get "fixed" bar-widths is to make the chart per set analysis independent from the any/certain selections and to "hide" the unrelated values by setting conditions into the various layout-settings like the background-color. Try with the expressions something like this:

color-expression:

if(count(Group) = 0, argb(0,0,0,0), blue())

chart-expression:

sum({1} Group)

Maybe you will need further adjustments to the sorting for the groups if you don't want wholes within the dimension values and put them in front or to the end from the dimension-values.

- Marcus

tresesco
MVP
MVP

Or may be like in attached sample ?