-
Truncated Bar Graph
Hopefully someone can help me. I don’t use expressions often, and I’ve found tons of help online creating bar graphs, but I can’t seem to find anything that accounts for a truncated bar graph, meaning the base value is non zero. I’m using the y scale to change the bars height. I believe the below expression when added to the scale property of each bar works great, but now I would love to be able to have a slider control on my chart control layer that I can put in a truncated value and have all the bars adjust accordingly.
I hope that makes sense.
Thanks,
Brian Holzknecht
x = transform.scale[0];
barvalue = effect("bar value")("Slider");
percentage = effect("percentage")("Slider");
maxvalue = thisComp.layer("chart controls").effect("max value")("Slider");y = barvalue/maxvalue;
[x, y*percentage]
Sorry, there were no replies found.