diff --git a/src/chart/gauge/GaugeView.ts b/src/chart/gauge/GaugeView.ts index a4bb3994c9..edf0edaf26 100644 --- a/src/chart/gauge/GaugeView.ts +++ b/src/chart/gauge/GaugeView.ts @@ -451,7 +451,7 @@ class GaugeView extends ChartView { r: r } }); - isOverlap && (progress.z2 = maxVal - (data.get(valueDim, idx) as number) % maxVal); + isOverlap && (progress.z2 = linearMap(data.get(valueDim, idx) as number, [minVal, maxVal], [100, 0], true)); return progress; }