Hi Brian,
You can do that without any problem.
Just create a cylinder with a length of let's say 500.
Change the Pivot-X to 250 (half of the length)
Then create keyframes where you change the value of Scale-X.
Done!
The only tricky part is that you need to do some math to calculate the scale when you are using numeric values. So if you have a bar displaying percentages. 100% would be scale 1. 0% would be scale 0. And percentages are the easy ones :-) It's when you have to use actual values where it gets a bit more difficult :-)
Best regards,
Kenneth
#XPression