mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
3.0 - optimize code
This commit is contained in:
@@ -23,7 +23,7 @@ namespace XCharts.Runtime
|
||||
[NonSerialized] public SerieContext context = new SerieContext();
|
||||
[NonSerialized] public InteractData interact = new InteractData();
|
||||
|
||||
internal SerieHandler handler { get; set; }
|
||||
public SerieHandler handler { get; set; }
|
||||
|
||||
|
||||
public virtual void SetVerticesDirty()
|
||||
@@ -68,6 +68,19 @@ namespace XCharts.Runtime
|
||||
handler.RemoveComponent();
|
||||
}
|
||||
|
||||
public virtual void OnDataUpdate()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnBeforeSerialize()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnAfterDeserialize()
|
||||
{
|
||||
OnDataUpdate();
|
||||
}
|
||||
|
||||
public void RefreshLabel()
|
||||
{
|
||||
if (handler != null)
|
||||
|
||||
Reference in New Issue
Block a user