Part of the script says from field to field which is to do with this. Here's my JSON pulling info from my database, value 1 is amount, value 2 is time
[{
"date": "2014-12-09",
"value1": 367,
"value2": 03:06:00
}, {
"date": "2014-12-09",
"value1": 367,
"value2": 03:06:00
}]
That's my data, this is part of the script that wants me to map it? :S
dataSet.fieldMappings = [{
fromField: "valu1",
toField: "value2"
}, {
fromField: "volume",
toField: "volume"
}];
I only have 3 fields don't I? Sorry for a vague question, I just don't understand.