mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 12:40:12 +00:00
修复Legend的formatter在数据变更时没有自动刷新的问题
This commit is contained in:
@@ -47,6 +47,10 @@ namespace XCharts.Example
|
||||
{
|
||||
UpdateData();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.C))
|
||||
{
|
||||
chart.ClearData();
|
||||
}
|
||||
lastAddTime += Time.deltaTime;
|
||||
if (loopAdd && lastAddTime >= loopAddTime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user