diff --git a/src/chart/gauge/GaugeView.ts b/src/chart/gauge/GaugeView.ts index 489456e818d7a6280f8748d5f3839f46aa5d384c..10687f5b9f4b59b4e0d0d67dbccea69aeaba4142 100644 --- a/src/chart/gauge/GaugeView.ts +++ b/src/chart/gauge/GaugeView.ts @@ -493,18 +493,8 @@ class GaugeView extends ChartView { }, symbolStyle)); } else { - if (pointer.__isEmptyBrush) { - // fill and stroke will be swapped if it's empty. - // So we cloned a new style to avoid it affecting the original style in visual storage. - // TODO Better implementation. No empty logic! - pointer.useStyle(extend({}, symbolStyle)); - } - else { - pointer.useStyle(symbolStyle); - } + pointer.useStyle(symbolStyle); if (pointer.type !== 'pointer') { - // Disable decal because symbol scale will been applied on the decal. - pointer.style.decal = null; pointer.setColor(visualColor); pointer.style.strokeNoScale = true; }