Browse Source

codestyle fix

merge-requests/2/head
rozetko 2 years ago
parent
commit
dd183f037e
  1. 2
      src/index.ts

2
src/index.ts

@ -217,7 +217,7 @@ export class ChartwerkGaugePod extends ChartwerkPod<GaugeData, GaugeConfig> {
get arcScale(): d3.ScaleLinear<number, number> {
return d3.scaleLinear()
.domain([this.options.minValue , this.options.maxValue])
.domain([this.options.minValue, this.options.maxValue])
.range([(-1 * Math.PI) / 2 - CIRCLES_ROUNDING, Math.PI / 2 + CIRCLES_ROUNDING]);
}

Loading…
Cancel
Save