mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 02:19:02 +08:00
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 <mar.kimmina@gmail.com> Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com> Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
This commit is contained in:
parent
215ea8d819
commit
b23d8da96c
@ -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();
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user