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. /// 最大值。