mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
优化代码,修复报错
This commit is contained in:
@@ -39,6 +39,8 @@ namespace XCharts
|
||||
protected static readonly string s_SerieLabelObjectName = "label";
|
||||
protected static readonly string s_SerieTitleObjectName = "serie";
|
||||
|
||||
[SerializeField] protected string m_ChartName;
|
||||
[SerializeField] protected string m_ChartUUID;
|
||||
[SerializeField] protected float m_ChartWidth;
|
||||
[SerializeField] protected float m_ChartHeight;
|
||||
[SerializeField] protected float m_ChartX;
|
||||
@@ -97,6 +99,7 @@ namespace XCharts
|
||||
InitComponent();
|
||||
m_Series.AnimationReset();
|
||||
m_Series.AnimationFadeIn();
|
||||
XChartsMgr.Instance.AddChart(this);
|
||||
}
|
||||
|
||||
protected override void Start()
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace XCharts
|
||||
{
|
||||
private static readonly string s_DefaultDataZoom = "datazoom";
|
||||
private static readonly string s_DefaultAxisName = "name";
|
||||
private static readonly string s_DefaultAxisLabel = "label";
|
||||
|
||||
[SerializeField] protected Grid m_Grid = Grid.defaultGrid;
|
||||
[SerializeField] protected List<XAxis> m_XAxises = new List<XAxis>();
|
||||
|
||||
Reference in New Issue
Block a user