-
Dynamic Bar Graphs – minimum value
Hi. I’m making some dynamic graphs based on the Video Copilot tutorial.
I’m currently using the script from mr.Kramer, but this script doesn’t contain the possibility to make minimum value for the graph. Everything allways starts at 0 and ends at X (your value). How do I make a graph that i.e. starts at 450 and ends with 500?What I want is a slider where I can adjust the minimum Value. Is this possible with just a few touches?
InputVal = effect("Bar Value")("Slider")/100;
ChartMax = thisComp.layer("Chart Controls").effect("Max Value")("Slider");
AnimationCompletion=effect("Percentage")("Slider");
ratio= AnimationCompletion/ChartMax;
Length = 100; // frames
InputVal*Length*thisComp.frameDuration*ratioI live frame by frame.