Skip to main content
Participant
December 16, 2020
Question

I am try to create a dynamic line graph using JSON, error couldnt turn results into numeric value

  • December 16, 2020
  • 1 reply
  • 135 views

eval("var jamtry=" + footage("JTANA1.json").sourceText);

year = jamtry[0].Jan;

min=0;

max=25,000;

max_movement=-245;

newBaseline=1025;

myYheight=((year-min)/max)* max_movement+newBaseline;

[value[0], myYheight];

This topic has been closed for replies.

1 reply

Mylenium
Legend
December 16, 2020

Just throwing some expression code at us is not going to resolve anything. You have not provided any info on where it's ebing applied nor any details about the actual source text and other things. Sorry, this is simply not useful in any way.

 

Mylenium