From dfee8304c26005d9ca799f6e409e4014b7cf0581 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 14 Oct 2019 18:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLabel=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/UI/Component/Sub/SerieData.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/UI/Component/Sub/SerieData.cs b/Scripts/UI/Component/Sub/SerieData.cs index dfac970f..7991041f 100644 --- a/Scripts/UI/Component/Sub/SerieData.cs +++ b/Scripts/UI/Component/Sub/SerieData.cs @@ -102,10 +102,11 @@ namespace XCharts /// 标志位置。 /// public Vector3 labelPosition { get; set; } + public bool m_CanShowLabel = true; /// /// 是否可以显示Label /// - public bool canShowLabel { get; set; } + public bool canShowLabel { get { return m_CanShowLabel; } set { m_CanShowLabel = value; } } /// /// the maxinum value. /// 最大值。