增加Symbol配置Serie标志图形的显示

This commit is contained in:
monitor1394
2019-07-20 12:18:07 +08:00
parent 1576308254
commit 2296fb66ff
10 changed files with 163 additions and 99 deletions

View File

@@ -22,7 +22,8 @@ public class Demo_Dynamic : MonoBehaviour
{
chart = gameObject.GetComponentInChildren<CoordinateChart>();
chart.RemoveData();
chart.AddSerie("data", SerieType.Line);
var serie = chart.AddSerie("data", SerieType.Line);
serie.symbol = SerieSymbolType.None;
chart.maxCacheDataNumber = maxCacheDataNumber;
timeNow = DateTime.Now;
timeNow = timeNow.AddSeconds(-maxCacheDataNumber);