diff --git a/dashboard/src/components/GraphItem.vue b/dashboard/src/components/GraphItem.vue index 17ae256db..7b93cad78 100644 --- a/dashboard/src/components/GraphItem.vue +++ b/dashboard/src/components/GraphItem.vue @@ -55,11 +55,13 @@ function renderTooltip(context) { bodyLines.sort((a, b) => { return b.value - a.value; }); - bodyLines.forEach((body, i) => { + bodyLines.slice(0, 5).forEach((body, i) => { const colors = labelColors[i]; innerHtml += `