Skip to content

Commit 49c59ca

Browse files
committed
fix: remove unused variables in wu-gauge.ts (TS6133)
1 parent 506c555 commit 49c59ca

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/charts/src/wu-gauge.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,12 @@ export class WuGauge extends LitElement {
3131
const arcStart = -210 * (Math.PI / 180);
3232
const arcEnd = 30 * (Math.PI / 180);
3333
const fullArc = arcEnd - arcStart;
34-
const circ = r * Math.abs(fullArc);
35-
const dash = circ;
36-
const offset = circ * (1 - pct);
3734
const x1 = cx + r * Math.cos(arcStart);
3835
const y1 = cy + r * Math.sin(arcStart);
3936
const x2 = cx + r * Math.cos(arcEnd);
4037
const y2 = cy + r * Math.sin(arcEnd);
4138
const cx2 = cx + r * Math.cos(arcStart + fullArc * pct);
4239
const cy2 = cy + r * Math.sin(arcStart + fullArc * pct);
43-
const large = fullArc > Math.PI ? 1 : 0;
4440
const trackD = `M${x1},${y1} A${r},${r} 0 1,1 ${x2},${y2}`;
4541
const fillD = `M${x1},${y1} A${r},${r} 0 ${pct > 0.5 ? 1 : 0},1 ${cx2},${cy2}`;
4642
return html`

0 commit comments

Comments
 (0)