mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 00:20:18 +00:00
重构代码,废弃Series.series接口,用Series.list代替
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user