I'm needing to create a bar graph that's connected to a JSON file via Templater.
I wont be using the mamoworld.json plug-in, since this project needs to be custom, but I've been following their tutorials.
Thinking I can make the bars using a path with a thick stroke. Then use the "create nulls from path" action. Then somehow link the nulls position to the source text of the percentage. The percentage will be linked to the JSON file.
The source text needs to drive the bars height.
I'm not sure if that'll work or how to even accomplish this. Thanks so much for your help!
I think the best way is create a rectangle with no stroke. The height of this rectangle should be the 100% value. Then link it's height to the source text of the percentage. Something like this, inside the size property. Modify Percentage Layer to what you have in project.
L = parseInt(thisComp.layer("Percentage Layer").text.sourceText);