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