From 71038a9f88d60661bd2c735b48be8a38aab36ea1 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Fri, 1 Sep 2023 08:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96RadarCoord=E5=8F=AF=E9=80=9A?= =?UTF-8?q?=E8=BF=87AxisName=E6=8E=A7=E5=88=B6label=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Component/Radar/RadarCoordHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Component/Radar/RadarCoordHandler.cs b/Runtime/Component/Radar/RadarCoordHandler.cs index 8c16175f..9301a0b3 100644 --- a/Runtime/Component/Radar/RadarCoordHandler.cs +++ b/Runtime/Component/Radar/RadarCoordHandler.cs @@ -53,7 +53,7 @@ namespace XCharts.Runtime var label = ChartHelper.AddChartLabel(objName, radarObject.transform, radar.axisName.labelStyle, chart.theme.common, radar.GetFormatterIndicatorContent(i), Color.clear, TextAnchor.MiddleCenter); - label.SetActive(radar.indicator && radar.axisName.labelStyle.show); + label.SetActive(radar.axisName.show && radar.indicator && radar.axisName.labelStyle.show); AxisHelper.AdjustCircleLabelPos(label, pos, radar.context.center, txtHig, radar.axisName.labelStyle.offset); } chart.RefreshBasePainter();