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

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

New Here ,
Dec 16, 2020 Dec 16, 2020

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];

TOPICS
Error or problem , Expressions , How to
111
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
LEGEND ,
Dec 16, 2020 Dec 16, 2020
LATEST

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

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