From 42a77a9439b2ab0e115cb3041cc809fb1eb34a13 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Fri, 21 Oct 2022 22:56:16 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D`Chart`=E5=9C=A8`Layo?= =?UTF-8?q?ut`=E5=B8=83=E5=B1=80=E4=B8=8B=E6=97=B6`Label`=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E6=AD=A3=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#231)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + Runtime/Internal/BaseChart.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dfbda83..66dbc3d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ ## master +* (2022.10.21) 修复`Chart`在`Layout`布局下时`Label`显示不正常的问题 (#231) * (2022.10.21) 修复`Unity2019.2`上的兼容问题 * (2022.10.18) 优化`Axis`的数值表现 * (2022.10.15) 修复`Axis`的`Label`在`DataZoom`开启时可能显示不正常的问题 (#227) diff --git a/Runtime/Internal/BaseChart.cs b/Runtime/Internal/BaseChart.cs index 364acdcf..7f1afd17 100644 --- a/Runtime/Internal/BaseChart.cs +++ b/Runtime/Internal/BaseChart.cs @@ -300,6 +300,7 @@ namespace XCharts.Runtime base.SetAllComponentDirty(); m_Theme.SetAllDirty(); foreach (var com in m_Components) com.SetAllDirty(); + foreach (var handler in m_SerieHandlers) handler.InitComponent(); m_RefreshChart = true; }