Skip to content

Commit

Permalink
Making result look good.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshahrokhi committed Jun 20, 2017
1 parent 2b5e30f commit e4ebcc5
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions vendor/game-framework/utils/resultutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,10 @@ window.resultutils = (function ($,_, Flotr) {
}else if (r.task ==='varying-control-scheme' ||
r.task === 'foraging' ||
r.task === 'predator' ||
r.task === 'varying-visualization' ||
r.task === 'assembly' ||
r.task === 'assembly-and-delivery' ||
r.task === 'puzzle'){
r.task === 'varying-visualization' ){
x = _.indexOf(modekeys, r.mode);
}else if(r.task === 'pyramid-building'){
}else if(r.task === 'pyramid-building'|| r.task==='assembly'|| r.task ==='assembly-and-delivery'||
r.task === 'puzzle'){
x = 10*parseFloat(r.mode);
}else{
x = r.robotCount;
Expand Down Expand Up @@ -231,10 +229,9 @@ window.resultutils = (function ($,_, Flotr) {
var isHistogram = taskResults[0].task === 'varying-control-scheme' ||
taskResults[0].task === 'foraging' ||
taskResults[0].task === 'varying-visualization' ||
taskResults[0].task === 'predator' ||
taskResults[0].task === 'assembly' ||
taskResults[0].task === 'assembly-and-delivery' ||
taskResults[0].task === 'puzzle';
taskResults[0].task === 'predator' ;//||
//taskResults[0].task === 'assembly-and-delivery' ||
//taskResults[0].task === 'puzzle';

plotTask( $container, $task, taskPrettyName, xAxisLabel, taskResults, userResults, isHistogram);
}
Expand Down

0 comments on commit e4ebcc5

Please sign in to comment.