增加Demo首页LineChart的代码动态控制效果

This commit is contained in:
monitor1394
2019-10-17 09:35:49 +08:00
parent cb636edb70
commit 4c3a94f753
9 changed files with 223167 additions and 23918 deletions

View File

@@ -56,7 +56,7 @@ public class Demo00_CheatSheet : MonoBehaviour
chart.title.text = "术语解析-组件";
chart.grid.bottom = 30;
chart.grid.right = 30;
chart.grid.left = 30;
chart.grid.left = 50;
chart.grid.top = 80;
chart.dataZoom.enable = false;
@@ -71,7 +71,7 @@ public class Demo00_CheatSheet : MonoBehaviour
{
chart.AddXAxisData("x" + (i + 1));
chart.AddData(0, Random.Range(10, 100));
chart.AddData(1, Random.Range(10, 100));
chart.AddData(1, Random.Range(30, 100));
}
yield return null;
}