增加部分鼠标事件回调

This commit is contained in:
monitor1394
2020-05-16 20:33:01 +08:00
parent e371e079f2
commit bc5bd1214e
10 changed files with 191 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ namespace XCharts.Examples
chart = gameObject.GetComponent<LineChart>();
if (chart == null) return;
chart.customDrawCallback = delegate (VertexHelper vh)
chart.onCustomDraw = delegate (VertexHelper vh)
{
var dataPoints = chart.series.list[0].dataPoints;
if (dataPoints.Count > 0)