Adjusted amber and RAG settings
This commit is contained in:
parent
2da945fb9b
commit
e4e75c6cab
@ -1,12 +1,12 @@
|
||||
function RAGGED(average){
|
||||
// This returns the correct colour red, amber or gree depending on the value presented
|
||||
// This returns the correct colour red, amber or green depending on the value presented
|
||||
if (average <= -1) {
|
||||
return "red";
|
||||
}
|
||||
if (average >= 1) {
|
||||
if (average >= 2) {
|
||||
return "green";
|
||||
}
|
||||
return "#ffbf00";
|
||||
return "#ff9b21";
|
||||
}
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ function getSurveyData(){
|
||||
let Q3=document.getElementById("gov").value;
|
||||
|
||||
|
||||
let amber = '#ffbf00';
|
||||
let amber = '#ff9b21';
|
||||
//doBigWhiteTriangle('svg1');
|
||||
//drawtriangle('#svg1','Roles','#008845',[0.5,0.6,0.5],'red', { x: 0, y: 350 },-0.7);
|
||||
//drawtriangle('#svg1','Actions','#b2c8c4',[0.1,0.6,0.5],'green',{ x: 370, y: 350 },2.3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user