I had to modify Datapoint.java and switch around the "at" and "value" attributes in order to successfully my uploaded data to display. Below is the change that I made.
public JSONObject toJSONObject() throws JSONException {
JSONObject jo = new JSONObject();
jo.put("at", at);
jo.put("value",value);
return jo;
}
I had to modify Datapoint.java and switch around the "at" and "value" attributes in order to successfully my uploaded data to display. Below is the change that I made.
public JSONObject toJSONObject() throws JSONException { JSONObject jo = new JSONObject(); jo.put("at", at); jo.put("value",value); return jo; }