重构接口

This commit is contained in:
monitor1394
2019-09-29 09:16:15 +08:00
parent 0493a2ebfe
commit 83deb5e103
10 changed files with 51 additions and 45 deletions

View File

@@ -22,7 +22,7 @@ public class Demo_Dynamic : MonoBehaviour
{
chart = gameObject.GetComponentInChildren<CoordinateChart>();
//chart.RemoveData();
var serie = chart.AddSerie("data", SerieType.Line);
var serie = chart.AddSerie(SerieType.Line);
serie.symbol.type = SerieSymbolType.None;
serie.maxCache = maxCacheDataNumber;
chart.xAxises[0].maxCache = maxCacheDataNumber;