Closed jeajones closed 7 years ago
I'm waiting on this so that I can fix the formatting of the bar charts.
I'll work on this tomorrow and see if I can fix this.
I've implemented this on the client-side, and added some columns to the wander sheet which are required to define this information. Can someone from the server edit the script so that it sends the two new columns from the questions table? The names for the fields are in the column titles.
@jeajones ones finished this yesterday. Is this working now, @aukeroorda?
To clarify, all that is needed for the two bar charts is the average response time and accuracy for before answering on task and off task. So GraphData should either be able to calculate and pass those four values or pass an array of all response times and accuraccies (split by on and off task) and the avg can be calculated from that.
I'll check if it is working and update the function in graphData to retrieve these values.
Currently only questionID = 0 indicates whether or not a person is on task depending on their answers to the multiple choice questions. As we're trying to make the questions dynamic this makes little sense. To add this functionality we need to: