From 9fa3f952a54d882be3ed1cb3ce3aa001f67e590d Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 29 Mar 2021 20:28:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E7=BB=98=E5=88=B6=E5=9B=9E=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Examples/Runtime/Example12_CustomDrawing.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Examples/Runtime/Example12_CustomDrawing.cs b/Examples/Runtime/Example12_CustomDrawing.cs index daaa961e..829babf3 100644 --- a/Examples/Runtime/Example12_CustomDrawing.cs +++ b/Examples/Runtime/Example12_CustomDrawing.cs @@ -25,9 +25,12 @@ namespace XCharts.Examples chart.onCustomDraw = delegate (VertexHelper vh) { }; - // or - chart.onCustomDrawSerie = delegate (VertexHelper vh, Serie serie) + chart.onCustomDrawBeforeSerie = delegate (VertexHelper vh, Serie serie) + { + }; + // or + chart.onCustomDrawAfterSerie = delegate (VertexHelper vh, Serie serie) { if (serie.index != 0) return; var dataPoints = serie.dataPoints; @@ -41,7 +44,6 @@ namespace XCharts.Examples UGL.DrawCricle(vh, pos, 5, Color.blue); } }; - // or chart.onCustomDrawTop = delegate (VertexHelper vh) {