diff --git a/src/index.ts b/src/index.ts index d934369..07a1b55 100644 --- a/src/index.ts +++ b/src/index.ts @@ -168,6 +168,13 @@ export class ChartwerkGaugePod extends ChartwerkPod { + if(i === 0) { + return 'value-arc'; + } else { + return 'backgroung-arc' + } + }) .style('fill', (d: object, i: number) => { return this._valueArcColors[i]; }) @@ -194,6 +201,9 @@ export class ChartwerkGaugePod extends ChartwerkPod { + return `stop-arc-${i}`; + }) .style('fill', (d: object, i: number) => { return this._colors[i]; })