Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamically change bar chart background

Hi

I am a newbie!

I am using Version 11.00.11282.0

I am trying to dynamically change the background image (.jpg) of a bar chart - depending on the selection. ie Country Flags.

when I select 'Dynamic Image' the expresssion entry sheet pops up - but I have no idea what or how I should create the script within this box.

I cant find this detailed anywhere.

Any ideas please?

Thanks

5 Replies
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Can I ask if my understanding of what you wanted is right. So you wanted the background of the graph to chnage to the color of the flag for the country? Not the color of the bar chart?

Not applicable
Author

Hi

Yes thats right the bars can stay the same colour, just the background image needs to change.

Thanks for your interest..

whiteline
Master II
Master II

Not applicable
Author

Hi

Thanks - but I got rather confused with the Bundle Load...

Still struggling to make this work!

Thanks

whiteline
Master II
Master II

You can use it without boundle prefix.

info

LOAD

     Country,

     BackgroundFileName

FROM ... (complete yourself).

Now in Chart properties for  'Dynamic Image' expression simply use =info(Country)

If you add 'boundle' before 'info' QlikView include all your images inside .qvw file.