ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Animating Bar Charts

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Solution
Paul Roper
Re: Animating Bar Charts
on Feb 3, 2012 at 8:23:49 pm

You could un-parent the text box from the bar, but link its position to the scale of the bar like this (adjust the *3 to alter the distance the text box travels to match the bar's scale). Paste this expression into the position of the text box:

amount=thisComp.layer("bar").transform.scale[0];
[value[0]+amount*3,value[1]]


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]