@@ -143,7 +150,7 @@
{job}
width={plotWidth}
height="{plotHeight}px"
- view="list"
+ displayTitle={false}
/>
{/if}
diff --git a/web/frontend/src/joblist/SortSelection.svelte b/web/frontend/src/joblist/SortSelection.svelte
index ba6f9b8..a77f03c 100644
--- a/web/frontend/src/joblist/SortSelection.svelte
+++ b/web/frontend/src/joblist/SortSelection.svelte
@@ -1,5 +1,5 @@
-
{#if series[0].data.length > 0}
diff --git a/web/frontend/src/plots/Pie.svelte b/web/frontend/src/plots/Pie.svelte
index 11dc2c9..89c333c 100644
--- a/web/frontend/src/plots/Pie.svelte
+++ b/web/frontend/src/plots/Pie.svelte
@@ -1,3 +1,17 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/frontend/src/plots/Scatter.svelte b/web/frontend/src/plots/Scatter.svelte
index 911d27d..1b260a6 100644
--- a/web/frontend/src/plots/Scatter.svelte
+++ b/web/frontend/src/plots/Scatter.svelte
@@ -1,6 +1,16 @@
-
-
-
+
+
+
+
+
diff --git a/web/frontend/src/plots/Scatteruplot.svelte b/web/frontend/src/plots/Scatteruplot.svelte
new file mode 100644
index 0000000..0fac0b7
--- /dev/null
+++ b/web/frontend/src/plots/Scatteruplot.svelte
@@ -0,0 +1,627 @@
+
+
+{#if data != null}
+
+{:else}
+ Cannot render scatter: No data!
+{/if}
\ No newline at end of file
diff --git a/web/frontend/src/utils.js b/web/frontend/src/utils.js
index 7510ace..bb63a4f 100644
--- a/web/frontend/src/utils.js
+++ b/web/frontend/src/utils.js
@@ -108,18 +108,18 @@ export function init(extraInitQuery = "") {
setContext("clusters", clusters);
setContext("globalMetrics", globalMetrics);
setContext("getMetricConfig", (cluster, subCluster, metric) => {
+ // Load objects if input is string
if (typeof cluster !== "object")
cluster = clusters.find((c) => c.name == cluster);
-
if (typeof subCluster !== "object")
subCluster = cluster.subClusters.find((sc) => sc.name == subCluster);
return subCluster.metricConfig.find((m) => m.name == metric);
});
setContext("getHardwareTopology", (cluster, subCluster) => {
+ // Load objects if input is string
if (typeof cluster !== "object")
cluster = clusters.find((c) => c.name == cluster);
-
if (typeof subCluster !== "object")
subCluster = cluster.subClusters.find((sc) => sc.name == subCluster);
@@ -175,6 +175,17 @@ export function distinct(value, index, array) {
return array.indexOf(value) === index;
}
+// Load Local Bool and Handle Scrambling of input string
+export const scrambleNames = window.localStorage.getItem("cc-scramble-names");
+export const scramble = function (str) {
+ if (str === "-") return str;
+ else
+ return [...str]
+ .reduce((x, c, i) => x * 7 + c.charCodeAt(0) * i * 21, 5)
+ .toString(32)
+ .substr(0, 6);
+};
+
export function fuzzySearchTags(term, tags) {
if (!tags) return [];