Color the "empty" cache space in a faint gray color

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-05-11 13:46:43 +02:00
parent bf2e02dc8a
commit eb1cfe2c70

View File

@@ -50,7 +50,7 @@ function updateCachePie(data) {
querytypeids = [];
Object.keys(data).forEach(function (item) {
v.push((100 * data[item]) / sum);
c.push(THEME_COLORS[i % THEME_COLORS.length]);
c.push(item !== "empty" ? THEME_COLORS[i % THEME_COLORS.length] : "#80808040");
k.push(item);
querytypeids.push(i + 1);