重构代码,废弃Series.series接口,用Series.list代替

This commit is contained in:
monitor1394
2019-10-01 13:52:02 +08:00
parent a220017d3d
commit 2560170921
15 changed files with 28 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ public class Demo12_CustomDrawing : MonoBehaviour
chart.customDrawCallback = delegate (VertexHelper vh)
{
var dataPoints = chart.series.series[0].dataPoints;
var dataPoints = chart.series.list[0].dataPoints;
if (dataPoints.Count > 0)
{
var pos = dataPoints[3];