diff --git a/populateGraphics.js b/populateGraphics.js index 08d99ce..cd794fd 100644 --- a/populateGraphics.js +++ b/populateGraphics.js @@ -414,10 +414,10 @@ function getSurveyData(){ //Clear up the pyramids by resetting the html document.getElementById("pyramids").innerHTML = ` - - - - + + + + `; @@ -426,7 +426,7 @@ function getSurveyData(){ drawtriangle('#svg_pyramid','Actions','#b2c8c4',[svg4_avg,svg5_avg,svg6_avg],'',{ x: 370, y: 350 },actions_avg.toFixed(1)); drawtriangle('#svg_pyramid','Approach','#ed4c0c',[svg7_avg,svg8_avg,svg9_avg],'',{ x: 185, y: 30 },approach_avg.toFixed(1)); drawtriangleinverted('#svg_pyramid','Results','#74469c',[svg10_avg,svg11_avg,svg12_avg],'',{ x: 185, y: 243},results_avg.toFixed(1)); - makeSvgRightClickable('svg_pyramid'); + //makeSvgRightClickable('svg_pyramid'); @@ -435,7 +435,7 @@ function getSurveyData(){ drawtriangle('#svg_pyramid_RAG','Actions','#b2c8c4',[svg4_avg,svg5_avg,svg6_avg],RAGGED(actions_avg),{ x: 370, y: 350 },actions_avg.toFixed(1)); drawtriangle('#svg_pyramid_RAG','Approach','#ed4c0c',[svg7_avg,svg8_avg,svg9_avg],RAGGED(approach_avg),{ x: 185, y: 30 },approach_avg.toFixed(1)); drawtriangleinverted('#svg_pyramid_RAG','Results','#74469c',[svg10_avg,svg11_avg,svg12_avg],RAGGED(results_avg),{ x: 185, y: 243},results_avg.toFixed(1)); - makeSvgRightClickable('svg_pyramid_RAG'); + //makeSvgRightClickable('svg_pyramid_RAG'); doBigWhiteTriangle('svg_pyramid_RAG_test'); @@ -443,7 +443,7 @@ function getSurveyData(){ drawtriangle('#svg_pyramid_RAG_test','Actions','#b2c8c4',[0.9,0.9,0.9],RAGGED(actions_avg),{ x: 370, y: 350 },actions_avg.toFixed(1)); drawtriangle('#svg_pyramid_RAG_test','Approach','#ed4c0c',[0.9,0.9,0.9],RAGGED(approach_avg),{ x: 185, y: 30 },approach_avg.toFixed(1)); drawtriangleinverted('#svg_pyramid_RAG_test','Results','#74469c',[0.9,0.9,0.9],RAGGED(results_avg),{ x: 185, y: 243},results_avg.toFixed(1)); - makeSvgRightClickable('svg_pyramid_RAG_test'); + //makeSvgRightClickable('svg_pyramid_RAG_test'); //doBigWhiteTriangle('svg_pyramid_RAG_test2'); diff --git a/reportTemplate.html b/reportTemplate.html index 1180c43..7299372 100644 --- a/reportTemplate.html +++ b/reportTemplate.html @@ -40,7 +40,7 @@ } .pyramid { - width: 40%; + width: 100%; height: auto; }