mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 21:00:11 +00:00
修复Axis的更新数据时效果不顺畅的问题
This commit is contained in:
@@ -23,11 +23,19 @@ namespace XCharts.Example
|
||||
{
|
||||
AddData();
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.R))
|
||||
else if (Input.GetKeyDown(KeyCode.R))
|
||||
{
|
||||
chart.AnimationReset();
|
||||
chart.AnimationFadeIn();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.U))
|
||||
{
|
||||
chart.UpdateData(0, 2, 99);
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.C))
|
||||
{
|
||||
chart.UpdateData(0, 2, 22);
|
||||
}
|
||||
}
|
||||
|
||||
void AddData()
|
||||
|
||||
Reference in New Issue
Block a user