I have had a request for an animated bar graph that would change in sync with narration. I was thinking of doing it with sliders instead of states, Has anyone ever tried this?
I can create an adjust variable to add to the value of the slider, but how do I get that trigger to repeat in relation to a repeat if value of trigger is <x.
You can do it animate the slider a few different ways.
If you want the slider to change based on the timeline progress, you could use time values or cue points. Attached is a quick mockup.
On the second slide, I moved the bar chart under the slider. You could change the slider thumb to the same shape and design as the bar chart to make it blend in with the bar chart. I just left it at the default thumb style so you could see both the slider and chart graphic.
Michael's approach is the way I'd go since it uses the fewest triggers. I wasn't sure how comfortable you were with variables. Do you think his approach will work for you?
Yes, the Toggle variable is continuously switched between T/F by the looped offstage animation. That variable 'drives' everything else. I used a similar setup for this example here to change a whole bunch of sliders, all at the same time.
I know it is not 100% related to this question, however a super-easy / no-trigger alternative that I use for progress bars is a "wipe from left" (or whatever direction you want the bar to progress) animation set to the exact duration of the narration. It works super smoothly, and no need for triggers and variables!
7 Replies
Hi Ari-
You can do it animate the slider a few different ways.
If you want the slider to change based on the timeline progress, you could use time values or cue points. Attached is a quick mockup.
On the second slide, I moved the bar chart under the slider. You could change the slider thumb to the same shape and design as the bar chart to make it blend in with the bar chart. I just left it at the default thumb style so you could see both the slider and chart graphic.
Thanks David,
What I was hoping for was something less trigger intensive as I was planning on setting my interval to .1 to make the movement appear smoother.
In a perfect world there would be some kind of conditional trigger that would say
1. check value of slider, if slider is less than <x add .1 to slider. adjust value of slider and repeat until slider value =x
Have a look at the attached file (3rd slide) and see if that's closer to what you wanted.
Michael's approach is the way I'd go since it uses the fewest triggers. I wasn't sure how comfortable you were with variables. Do you think his approach will work for you?
Thank you Micheal,
Took me a minute to figure out the "toggle variable".. . but i see that has to do with the not assignment operator.
Learned something today
Yes, the Toggle variable is continuously switched between T/F by the looped offstage animation. That variable 'drives' everything else. I used a similar setup for this example here to change a whole bunch of sliders, all at the same time.
I know it is not 100% related to this question, however a super-easy / no-trigger alternative that I use for progress bars is a "wipe from left" (or whatever direction you want the bar to progress) animation set to the exact duration of the narration. It works super smoothly, and no need for triggers and variables!
This discussion is closed. You can start a new discussion or contact Articulate Support.