Tooltip to display a respective background color specifically for the application, while still showing the vulnerabilities and duration normally
this.options.plugins = { tooltip: { callbacks: { // Suppress the default title (duration) rendering title: () => { return “”; }, // Suppress individual label rendering label: () => { return “”; }, // Combine everything in the afterBody afterBody: (context: any) => { console.log(“context”, context); const apps = context .map((item) => item.dataset.label) .join(“, “); […]
Tooltip to display a respective background color specifically for the application, while still showing the vulnerabilities and duration normally
this.options.plugins = { tooltip: { callbacks: { // Suppress the default title (duration) rendering title: () => { return “”; }, // Suppress individual label rendering label: () => { return “”; }, // Combine everything in the afterBody afterBody: (context: any) => { console.log(“context”, context); const apps = context .map((item) => item.dataset.label) .join(“, “); […]