Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart Animation

I have the sample animation example attached here. Is it possible to start both chart animations at the same time?

Please help..!!

10 Replies
morganaaron
Specialist
Specialist

Hi Nishant,

My thought here would be to have these both on their own sheet, and to tick the "autoplay" option in the animation dialogue for both, then have a button in another sheet to activate that sheet - the only problem is you won't be able to control stop/starting both, but they will both play at the same time when the sheet is activated!

Not applicable
Author

Hi Aaron.. Thanks a lot for the reply. In this case, I won't be able to pause the animation. So I don't think it will solve my purpose. What's your take on this?

Not applicable
Author

The only way I know of to achieve this is through a macro and set it to loop, then have a second macro to turn off the loop..

e.g.

set chart = ActiveDocument.GetSheetObject("CH01")

set p = chart.GetProperties

p.ChartProperties.AnimationProperties.AutoPlay = true 

chart.SetProperties p

rustyfishbones
Master II
Master II

try this

Not applicable
Author

Hi Felim

I did it using Macro but again couldn't proceed further with pause functionality. Since while ruuning a loop, we don't get the control on the qlikview objects till the loop is done with the execution, it becomes impossible to click any button to pause the animation. Do you have any sample with pause functionality added to it?

rustyfishbones
Master II
Master II

Apologies you already have this running

Not applicable
Author

Hi Alan

Thanks for the help. Could you please help me in adding a pause functionality to this animation, so that both the charts are paused at the same time and can also resume the animation at the same time..??

Not applicable
Author

Thanks for tyour help Aaron. I'll try to implement your idea..

rustyfishbones
Master II
Master II

I am looking into my archives I am sure I had done this before