From de4f650e4f6a9a4bb0622d2a9ed8c49cf1d896a2 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sat, 27 Jul 2024 11:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96`Axis`=E7=9A=84=E8=BD=B4?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E5=9C=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Component/Axis/AxisHandler.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Runtime/Component/Axis/AxisHandler.cs b/Runtime/Component/Axis/AxisHandler.cs index 90a0bcc0..a36ec72b 100644 --- a/Runtime/Component/Axis/AxisHandler.cs +++ b/Runtime/Component/Axis/AxisHandler.cs @@ -191,11 +191,8 @@ namespace XCharts } } - if (updateChart) - { - UpdateAxisLabelText(axis); - chart.RefreshChart(); - } + UpdateAxisLabelText(axis); + chart.RefreshChart(); } if (!cancelAnimation && axis.context.needAnimation && (axis.context.minValue != axis.context.destMinValue || axis.context.maxValue != axis.context.destMaxValue))