mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:57:08 +00:00
Add graphic aesthetics
This commit is contained in:
74
lib/www/client/source/src/lib/graphs/aesthetics.js
Normal file
74
lib/www/client/source/src/lib/graphs/aesthetics.js
Normal file
@@ -0,0 +1,74 @@
|
||||
export const gunArrays = {
|
||||
2: {
|
||||
min: {
|
||||
fillcolor: "rgba(200, 230, 201, 0.2)",
|
||||
line: {color: "rgba(129, 199, 132, 0.3)", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 1 (min.)",
|
||||
hoverinfo: "skip"
|
||||
},
|
||||
avg: {
|
||||
fillcolor: "rgba(200, 230, 201, 0.2)",
|
||||
line: {color: "rgba(129, 199, 132, 0.9)", shape: "spline"},
|
||||
name: "Array 1 (avg.)"
|
||||
},
|
||||
max: {
|
||||
fillcolor: "rgba(200, 230, 201, 0.2)",
|
||||
line: {color: "rgba(129, 199, 132, 0.4)", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 1 (max.)",
|
||||
hoverinfo: "skip"
|
||||
}
|
||||
},
|
||||
1: {
|
||||
min: {
|
||||
fillcolor: "rgba(255, 205, 210, 0.2)",
|
||||
line: {color: "rgba(229, 115, 115, 0.3)", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 2 (min.)",
|
||||
hoverinfo: "skip"
|
||||
},
|
||||
avg: {
|
||||
fillcolor: "rgba(255, 205, 210, 0.2)",
|
||||
line: {color: "rgba(229, 115, 115, 0.9)", shape: "spline"},
|
||||
name: "Array 2 (avg.)"
|
||||
},
|
||||
max: {
|
||||
fillcolor: "rgba(255, 205, 210, 0.2)",
|
||||
line: {color: "rgba(229, 115, 115, 0.4)", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 2 (max.)",
|
||||
hoverinfo: "skip"
|
||||
}
|
||||
},
|
||||
3: {
|
||||
min: {
|
||||
fillcolor: "",
|
||||
line: {color: "", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 3 (min.)",
|
||||
hoverinfo: "skip"
|
||||
},
|
||||
avg: {
|
||||
fillcolor: "",
|
||||
line: {color: "", shape: "spline"},
|
||||
name: "Array 3 (avg.)"
|
||||
},
|
||||
max: {
|
||||
fillcolor: "",
|
||||
line: {color: "", shape: "spline"},
|
||||
showlegend: false,
|
||||
name: "Array 3 (max.)",
|
||||
hoverinfo: "skip"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const gunArrayViolins = {
|
||||
1: {
|
||||
value: {line: {color: "rgba(129, 199, 132, 0.9)"}}
|
||||
},
|
||||
2: {
|
||||
value: {line: {color: "rgba(229, 115, 115, 0.9)"}}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user