mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
重构接口
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user