Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Shape layer not visible

New Here ,
Jun 17, 2021 Jun 17, 2021

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)

 

 

 

 

2.jpg1.jpg

TOPICS
Error or problem , Expressions , Scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Jun 17, 2021 Jun 17, 2021

lmao i had my path below stroke, reversing that fixed the problem

Translate
New Here ,
Jun 17, 2021 Jun 17, 2021

lmao i had my path below stroke, reversing that fixed the problem

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 14, 2022 Jun 14, 2022
LATEST

I am so glad you posted this lol, I did a bunch of copy/pasting and neglected to copy the stroke 😅

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines