mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 21:40:41 +00:00
3.10.0
This commit is contained in:
@@ -166,8 +166,18 @@ namespace XCharts.Runtime
|
||||
/// </summary>
|
||||
public Action<Legend, int, string> onLegendExit { set { m_OnLegendExit = value; } internal get { return m_OnLegendExit; } }
|
||||
|
||||
[Obsolete("No need to call Init() anymore.", true)]
|
||||
public void Init(bool defaultChart = true) { }
|
||||
public void Init(bool defaultChart = true)
|
||||
{
|
||||
if (defaultChart)
|
||||
{
|
||||
OnInit();
|
||||
DefaultChart();
|
||||
}
|
||||
else
|
||||
{
|
||||
OnBeforeSerialize();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Redraw chart in next frame.
|
||||
|
||||
Reference in New Issue
Block a user