Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Bar graph scales up and down as data fluctuates over time?

  • Bar graph scales up and down as data fluctuates over time?

  • Angela Ravi

    January 5, 2019 at 7:42 am

    Hi,
    I need to create a bar graph that grows taller and shrinks according to values pulled from a Json file. So every second the graph grows taller or shorter. and I would also like the movement every second to be easy eased. So basically the line moves from point a to point b then pauses, then moves from point b to point c, pauses and so on until it reaches the end of the data.

    What I have managed to do so far…
    I’ve managed to get the values from the json file assigned to Nulls and then do a trim path to animate the line that connect the nulls together, however I’m not sure how to easy ease the movement from one null point to the next null point. The line right now simply travels from the first null to the last null at a constant speed.

    Could someone kindly help. I’m new to After Effects and expressions.

  • Kalleheikki Kannisto

    January 5, 2019 at 9:42 am

    A screen grab of your setup and current expressions would help. In the first paragraph you’re describing a single bar graph, in the second you’re describing a line graph with many points, so it is hard to tell what the actual aim is.

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Angela Ravi

    January 5, 2019 at 11:24 am

    Hi Kalleheikki,
    Sorry if I wasn’t clear. Here’s a screen grab with the code attached to the separate nulls visible.

    Thanks

  • Kalleheikki Kannisto

    January 5, 2019 at 6:10 pm

    Do you have this set up so that the path points are controlled by the nulls? Do you just need the expression for the trim paths end to move one null forward with ease and a little stop in between with one-second intervals?

    If that is the objective, it would be better achieved by moving a track matte layer above the graph line and reveal the graph that way. That would then be an expression which moves the matte layer from left to right by the horizontal distance between the graph points once per second with an ease . This way you don’t need to worry about the varying path lengths between the points, which would be an issue you’d have to deal with with trim paths.

    Or possibly I’m still not getting an accurate picture of what the expected end result is.

    Kalleheikki Kannisto
    Senior Graphic Designer

Viewing 1 - 4 of 4 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy