mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 00:20:18 +00:00
修复SerieData回收时部分配置没有重置的问题
This commit is contained in:
@@ -162,15 +162,22 @@ namespace XCharts
|
||||
private List<float> m_DataUpdateTime = new List<float>();
|
||||
private List<bool> m_DataUpdateFlag = new List<bool>();
|
||||
|
||||
public void Clear()
|
||||
public void Reset()
|
||||
{
|
||||
index = 0;
|
||||
labelObject = null;
|
||||
m_Name = string.Empty;
|
||||
m_Selected = false;
|
||||
m_CanShowLabel = false;
|
||||
m_Radius = 0;
|
||||
m_Data.Clear();
|
||||
m_PreviousData.Clear();
|
||||
m_DataUpdateTime.Clear();
|
||||
m_DataUpdateFlag.Clear();
|
||||
m_IconStyle.Reset();
|
||||
m_Label.Reset();
|
||||
m_ItemStyle.Reset();
|
||||
m_Emphasis.Reset();
|
||||
}
|
||||
|
||||
public float GetData(int index, bool inverse = false)
|
||||
|
||||
Reference in New Issue
Block a user