From e0bc36365304efcc331971bbee12b03a42b76305 Mon Sep 17 00:00:00 2001 From: susiwen8 Date: Sun, 11 Jul 2021 10:06:28 +0800 Subject: [PATCH] fix(gauge): guage detail label should be on top --- src/chart/gauge/GaugeView.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chart/gauge/GaugeView.ts b/src/chart/gauge/GaugeView.ts index a4e9005c13..a95c7c2601 100644 --- a/src/chart/gauge/GaugeView.ts +++ b/src/chart/gauge/GaugeView.ts @@ -623,6 +623,7 @@ class GaugeView extends ChartView { const labelEl = newDetailEls[idx]; const formatter = itemDetailModel.get('formatter'); labelEl.attr({ + z2: 10, style: createTextStyle(itemDetailModel, { x: detailX, y: detailY,