Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
Partner
Partner

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?

Highlighted
Not applicable

Hi

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

Thanks for your interest..

Highlighted
Master II
Master II

Highlighted
Not applicable

Hi

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

Still struggling to make this work!

Thanks

Highlighted
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.