From efbe16b8048d691d6e077bcc1f1a6d9b82546554 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 19 May 2025 21:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`TMP`=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E6=97=B6`Axis`=E8=BF=90=E8=A1=8C=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Component/Axis/AxisHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Component/Axis/AxisHandler.cs b/Runtime/Component/Axis/AxisHandler.cs index ae85201b..31750b2f 100644 --- a/Runtime/Component/Axis/AxisHandler.cs +++ b/Runtime/Component/Axis/AxisHandler.cs @@ -43,7 +43,7 @@ namespace XCharts if (label == null) continue; if (label.InRect(chart.pointerPos)) { - component.onLabelClick.Invoke(i, label.GetText()); + component.onLabelClick.Invoke(i, label.text.GetText()); break; } } @@ -456,7 +456,7 @@ namespace XCharts } if(content == null) { - content = label.GetText(); + content = label.text.GetText(); } if (axis.IsValue()) {