mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 07:20:08 +00:00
完善动态创建图表功能
This commit is contained in:
@@ -171,6 +171,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
OnInit();
|
||||
DefaultChart();
|
||||
m_DefaultChartInited = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace XCharts.Runtime
|
||||
[SerializeField] protected ThemeStyle m_Theme = new ThemeStyle();
|
||||
[SerializeField] protected Settings m_Settings;
|
||||
[SerializeField] protected DebugInfo m_DebugInfo = new DebugInfo();
|
||||
[SerializeField] protected bool m_DefaultChartInited = false;
|
||||
|
||||
#pragma warning disable 0414
|
||||
[SerializeField][ListForComponent(typeof(AngleAxis))] private List<AngleAxis> m_AngleAxes = new List<AngleAxis>();
|
||||
@@ -180,6 +181,7 @@ namespace XCharts.Runtime
|
||||
base.Reset();
|
||||
OnInit();
|
||||
DefaultChart();
|
||||
m_DefaultChartInited = true;
|
||||
Awake();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user