diff --git a/src/app/utils.ts b/src/app/utils.ts index 576874c4425df76074ae1ce585a7f1aa18a5d44d..4fe226a6be8c5047d939516ee129d50ce8c32e88 100644 --- a/src/app/utils.ts +++ b/src/app/utils.ts @@ -174,8 +174,9 @@ export function pieChartContextRenderer({ctx, x, y, state: {selected, hover}, st } // draw white background circle ctx.beginPath(); - // alternatively window.getComputedStyle(document.documentElement).getPropertyValue('--drgstn-panel');? ctx.fillStyle = "white" + // or fill like background of graph panel + // ctx.fillStyle= window.getComputedStyle(document.documentElement).getPropertyValue('--drgstn-panel'); ctx.arc(x, y, style.size, 0, 2 * Math.PI,false); ctx.fill(); ctx.stroke();