From b23d8da96c2c21141528af72ea216e6f93cdfd5a Mon Sep 17 00:00:00 2001 From: Marius Kimmina <38843153+mariuskimmina@users.noreply.github.com> Date: Tue, 10 Jan 2023 06:14:59 +0100 Subject: [PATCH] style: use 'no data' for empty graphs (#2002) * style: use 'No Data' for empty graphs * style: use 'No data' for empty graphs Signed-off-by: Marius Kimmina Signed-off-by: Marius Kimmina Co-authored-by: Vishal Sharma --- frontend/src/components/Graph/Plugin/EmptyGraph.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Graph/Plugin/EmptyGraph.ts b/frontend/src/components/Graph/Plugin/EmptyGraph.ts index 0f0577bb80..ab008cacfc 100644 --- a/frontend/src/components/Graph/Plugin/EmptyGraph.ts +++ b/frontend/src/components/Graph/Plugin/EmptyGraph.ts @@ -11,7 +11,7 @@ export const emptyGraph = { ctx.textBaseline = 'middle'; ctx.font = '1.5rem sans-serif'; ctx.fillStyle = `${grey.primary}`; - ctx.fillText('No data to display', width / 2, height / 2); + ctx.fillText('No data', width / 2, height / 2); ctx.restore(); }, };