修复SerieData回收时部分配置没有重置的问题

This commit is contained in:
monitor1394
2020-06-10 13:10:24 +08:00
parent 51159db106
commit e00fd46bdf
7 changed files with 94 additions and 8 deletions

View File

@@ -19,6 +19,14 @@ namespace XCharts
[SerializeField] private bool m_Show;
[SerializeField] private SerieLabel m_Label = new SerieLabel();
[SerializeField] private ItemStyle m_ItemStyle = new ItemStyle();
public void Reset()
{
m_Show = false;
m_Label.Reset();
m_ItemStyle.Reset();
}
/// <summary>
/// 是否启用高亮样式。
/// </summary>