I have a JSON file which i load into my javascript var
Before plotting my data:
{
"Month": "September",
"Value": 1681937,
"Year": 2013
},
{
"Month": "April",
"Value": 2138286,
"Year": 2014
},
I need to replace the label "Value" with "Value+Year" which will look something like so: "Value2013" for September and "Value2014" for April.
From StackOverflow I understand this should be doable in javascript but i don't understand how to access for every entry the value of Year and replace the Label Value with Value+Year
Thank you in advance.