From dfbec5408be786092060c4a72b3eb6d2b55c2002 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Fri, 29 May 2020 08:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8FRadarChart=E7=9A=84indicator?= =?UTF-8?q?=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/RadarChart.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/RadarChart.cs b/Runtime/RadarChart.cs index c7d1fab2..8af77d58 100644 --- a/Runtime/RadarChart.cs +++ b/Runtime/RadarChart.cs @@ -129,6 +129,7 @@ namespace XCharts var txt = ChartHelper.AddTextObject(INDICATOR_TEXT + "_" + n + "_" + i, transform, m_ThemeInfo.font, textColor, anchor, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(txtWid, txtHig), textStyle.fontSize, textStyle.rotate, textStyle.fontStyle, textStyle.lineSpacing); + txt.gameObject.hideFlags = chartHideFlags; txt.text = radar.indicatorList[i].name; txt.gameObject.SetActive(radar.indicator); var txtWidth = txt.preferredWidth;