Copy link to clipboard
Copied
Hey y'all!
Really confused why this isn't showing up. I was following a YouTube tutorial to make line charts from a CSV file. everything looks fine in the expression and shape layer but for some reason it's not showing up in preview or when rendered.
transparencies look fine and it's definitely on the comp, not 3d, etc. Please let me know! I'm at my wits end.
The expression is here:
var numberOfPoints = thisComp.layer("Control").effect("Number of Points")("Slider");
var maxYValue = thisComp.layer("Control").effect("Max Y Value")("Slider");
var startingPointX = 0;
var spacingForPoints = thisComp.width / (numberOfPoints - 1);
var arrayOfPoints = [];
for ( var i = 0; i < numberOfPoints; i++) {
var monthlyDeaths = thisComp.layer("test.csv").footage("test.csv").dataValue([1,i]);
var lineHeight = linear(monthlyDeaths, 0, maxYValue, 0, thisComp.height) * -1;
var dataArray = [startingPointX, lineHeight];
arrayOfPoints.push(dataArray);
startingPointX += spacingForPoints
}
createPath(arrayOfPoints,[],[],false)
lmao i had my path below stroke, reversing that fixed the problem
Copy link to clipboard
Copied
lmao i had my path below stroke, reversing that fixed the problem
Copy link to clipboard
Copied
I am so glad you posted this lol, I did a bunch of copy/pasting and neglected to copy the stroke 😅
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more