mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
整理和重构代码
This commit is contained in:
@@ -18,6 +18,7 @@ namespace XCharts.Runtime
|
||||
[SerializeField] protected string m_ChartName;
|
||||
[SerializeField] protected ThemeStyle m_Theme = new ThemeStyle();
|
||||
[SerializeField] protected Settings m_Settings;
|
||||
[SerializeField] protected DebugInfo m_DebugInfo = new DebugInfo();
|
||||
|
||||
#pragma warning disable 0414
|
||||
[SerializeField][ListForComponent(typeof(AngleAxis))] private List<AngleAxis> m_AngleAxes = new List<AngleAxis>();
|
||||
@@ -67,6 +68,8 @@ namespace XCharts.Runtime
|
||||
public List<MainComponent> components { get { return m_Components; } }
|
||||
|
||||
public List<Serie> series { get { return m_Series; } }
|
||||
public DebugInfo debug { get { return m_DebugInfo; } }
|
||||
public override HideFlags chartHideFlags { get { return m_DebugInfo.showAllChartObject ? HideFlags.None : HideFlags.HideInHierarchy; } }
|
||||
|
||||
protected float m_ChartWidth;
|
||||
protected float m_ChartHeight;
|
||||
|
||||
Reference in New Issue
Block a user