更新教程

This commit is contained in:
monitor1394
2020-09-19 17:56:56 +08:00
parent 91b92e13c3
commit 0a60975540

View File

@@ -19,6 +19,7 @@ namespace XCharts.Examples
if (chart == null)
{
chart = gameObject.AddComponent<LineChart>();
chart.SetSize(580, 300);//代码动态添加图表需要设置尺寸或直接操作chart.rectTransform
}
chart.title.show = true;
chart.title.text = "Line Simple";