Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change bar chart area and width of the bars dynamically

Hello,

Currently I am working with the secnario where the number of bars display changes from one user to another user using 1 bar chart. Ex: User1 login the bar chart will be displayed with 7 bars and when user2 login the bar chart will be displayed with 3 bars. in this case the look and feel is not good for the user2. So, to make it better I need to make the chart area to change dynamically.

Please help me out with tihs.

Thanks in advance.

2 Replies
Not applicable
Author

This is not possible with out a work around. Create two charts with different formatting to suit the data and show the appropriate one based on the user logged in.

Regards,

KKR

marcus_sommer

You could also try to put a second bar-expression into the chart which had a condition on the user like:

if(osuer() = ',x', 1,0) whereas this bar is disabled or set to transparence.

- Marcus